3v4l.org

run code in 300+ PHP versions simultaneously
<?php func2(); function func1() { echo 'func1'; function func2() { echo 'func2'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66faT
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'func2'
          1        DO_FCALL                                      0          
   10     2      > RETURN                                                   1

Function func1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66faT
function name:  func1
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'func1'
    7     1        DECLARE_FUNCTION                                         'func2'
   10     2      > RETURN                                                   null

End of function func1

Function %00func2%2Fin%2F66faT%3A7%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66faT
function name:  func2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'func2'
    9     1      > RETURN                                                   null

End of function %00func2%2Fin%2F66faT%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.45 ms | 938 KiB | 14 Q