3v4l.org

run code in 500+ PHP versions simultaneously
<?php $original='PRESET%5BTickets%5D%5Bname%5D%5B%5D=&PRESET%5BTickets%5D%5Bday%5D%5B%5D=2018-03-04'; parse_str($original,$arr); $url=http_build_query($arr); var_export($arr); echo "\n"; var_dump($arr,$original,$url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gGQ8d
function name:  (null)
number of ops:  19
compiled vars:  !0 = $original, !1 = $arr, !2 = $url
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'PRESET%255BTickets%255D%255Bname%255D%255B%255D%3D%26PRESET%255BTickets%255D%255Bday%255D%255B%255D%3D2018-03-04'
    3     1        INIT_FCALL                                                   'parse_str'
          2        SEND_VAR                                                     !0
          3        SEND_REF                                                     !1
          4        DO_ICALL                                                     
    4     5        INIT_FCALL                                                   'http_build_query'
          6        SEND_VAR                                                     !1
          7        DO_ICALL                                             $5      
          8        ASSIGN                                                       !2, $5
    5     9        INIT_FCALL                                                   'var_export'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
    6    12        ECHO                                                         '%0A'
    7    13        INIT_FCALL                                                   'var_dump'
         14        SEND_VAR                                                     !1
         15        SEND_VAR                                                     !0
         16        SEND_VAR                                                     !2
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.35 ms | 2159 KiB | 17 Q