3v4l.org

run code in 500+ PHP versions simultaneously
<?php parse_str('category=x&category=y', $repeated); parse_str('category[]=x&category[]=y', $bracketed); var_dump($repeated); var_dump($bracketed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XqfUs
function name:  (null)
number of ops:  15
compiled vars:  !0 = $repeated, !1 = $bracketed
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'parse_str'
          1        SEND_VAL                                                     'category%3Dx%26category%3Dy'
          2        SEND_REF                                                     !0
          3        DO_ICALL                                                     
    4     4        INIT_FCALL                                                   'parse_str'
          5        SEND_VAL                                                     'category%5B%5D%3Dx%26category%5B%5D%3Dy'
          6        SEND_REF                                                     !1
          7        DO_ICALL                                                     
    6     8        INIT_FCALL                                                   'var_dump'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                                     
    7    11        INIT_FCALL                                                   'var_dump'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.77 ms | 478 KiB | 9 Q