3v4l.org

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

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

End of function one

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

End of function %00two%2Fin%2F5MW7p%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.58 ms | 1396 KiB | 14 Q