3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x() { $hello = true; function y() { var_dump($hello); } y(); } x();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SO2b9
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'x'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SO2b9
function name:  x
number of ops:  5
compiled vars:  !0 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <true>
    6     1        DECLARE_FUNCTION                                         'y'
   10     2        INIT_FCALL_BY_NAME                                       'y'
          3        DO_FCALL                                      0          
   11     4      > RETURN                                                   null

End of function x

Function %00y%2Fin%2FSO2b9%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SO2b9
function name:  y
number of ops:  4
compiled vars:  !0 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAR                                                 !0
          2        DO_ICALL                                                 
    8     3      > RETURN                                                   null

End of function %00y%2Fin%2FSO2b9%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.58 ms | 1397 KiB | 16 Q