3v4l.org

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

Function test1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2rCbm
function name:  test1
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'Test+1'
    5     1        DECLARE_FUNCTION                                         'test2'
    8     2      > RETURN                                                   null

End of function test1

Function %00test2%2Fin%2F2rCbm%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2rCbm
function name:  test2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'Test+2'
    7     1      > RETURN                                                   null

End of function %00test2%2Fin%2F2rCbm%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.02 ms | 1393 KiB | 13 Q