3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(parse_str('foo[]=1&foo[1]=2&foo[1]=3&foo[2]=4&foo[2]=5&foo[]=6', $r)); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kEDi8A
function name:  (null)
number of ops:  11
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'parse_str'
          2        SEND_VAL                                                 'foo%5B%5D%3D1%26foo%5B1%5D%3D2%26foo%5B1%5D%3D3%26foo%5B2%5D%3D4%26foo%5B2%5D%3D5%26foo%5B%5D%3D6'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.76 ms | 1013 KiB | 15 Q