3v4l.org

run code in 300+ PHP versions simultaneously
<?php function draw() { function draw_outlines() {} function draw_fills() {} } var_dump(function_exists('draw_fills')); draw(); var_dump(function_exists('draw_fills'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pXOPP
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'draw_fills'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
   10     6        INIT_FCALL                                               'draw'
          7        DO_FCALL                                      0          
   12     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'function_exists'
         10        SEND_VAL                                                 'draw_fills'
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

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


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

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pXOPP
function name:  draw_fills
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   null

End of Dynamic Function 1

End of function draw

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.26 ms | 1018 KiB | 16 Q