3v4l.org

run code in 300+ PHP versions simultaneously
<?phperror_reporting(E_ALL);function t() { global $foo; echo $foo['bar'];}t();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XikJN
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL_BY_NAME                                       'phperror_reporting'
          1        SEND_VAL_EX                                              32767
          2        DO_FCALL                                      0          
          3        INIT_FCALL                                               't'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function t:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XikJN
function name:  t
number of ops:  4
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   BIND_GLOBAL                                              !0, 'foo'
          1        FETCH_DIM_R                                      ~1      !0, 'bar'
          2        ECHO                                                     ~1
          3      > RETURN                                                   null

End of function t

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.02 ms | 1397 KiB | 14 Q