3v4l.org

run code in 300+ PHP versions simultaneously
<?php parse_str(parse_url($_SERVER['HTTP_REFERER'], ph), $queries); echo $queries['q'];?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CLt6h
function name:  (null)
number of ops:  14
compiled vars:  !0 = $queries
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'parse_str'
          1        INIT_FCALL                                               'parse_url'
          2        FETCH_R                      global              ~1      '_SERVER'
          3        FETCH_DIM_R                                      ~2      ~1, 'HTTP_REFERER'
          4        SEND_VAL                                                 ~2
          5        FETCH_CONSTANT                                   ~3      'ph'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        SEND_REF                                                 !0
         10        DO_ICALL                                                 
    3    11        FETCH_DIM_R                                      ~6      !0, 'q'
         12        ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.89 ms | 1394 KiB | 17 Q