3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://example.org/?rft.id=123456'; $array = array(); parse_str(parse_url ($url, PHP_URL_QUERY), $array); var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/34Je7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fexample.org%2F%3Frft.id%3D123456'
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'parse_str'
          3        INIT_FCALL                                               'parse_url'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 6
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        SEND_REF                                                 !1
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.35 ms | 939 KiB | 20 Q