3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "first=value&arr[]=foo+bar&arr[]=baz"; parse_str($str); echo $first; // value echo $arr[0]; // foo bar echo $arr[1]; // baz
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CR6Lb
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $first, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'first%3Dvalue%26arr%5B%5D%3Dfoo%2Bbar%26arr%5B%5D%3Dbaz'
    3     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    4     4        ECHO                                                     !1
    5     5        FETCH_DIM_R                                      ~5      !2, 0
          6        ECHO                                                     ~5
    6     7        FETCH_DIM_R                                      ~6      !2, 1
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.02 ms | 1393 KiB | 15 Q