3v4l.org

run code in 300+ PHP versions simultaneously
<?php function outer() { function inner($echoval) { echo $echoval; } } outer(); inner('First Run'); outer(); inner('Second Run');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/85KaS
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'outer'
          1        DO_FCALL                                      0          
    9     2        INIT_FCALL_BY_NAME                                       'inner'
          3        SEND_VAL_EX                                              'First+Run'
          4        DO_FCALL                                      0          
   10     5        INIT_FCALL                                               'outer'
          6        DO_FCALL                                      0          
   11     7        INIT_FCALL_BY_NAME                                       'inner'
          8        SEND_VAL_EX                                              'Second+Run'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function outer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/85KaS
function name:  outer
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_FUNCTION                                         'inner'
    7     1      > RETURN                                                   null

End of function outer

Function %00inner%2Fin%2F85KaS%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/85KaS
function name:  inner
number of ops:  3
compiled vars:  !0 = $echoval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ECHO                                                     !0
    6     2      > RETURN                                                   null

End of function %00inner%2Fin%2F85KaS%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.26 ms | 1397 KiB | 15 Q