3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); function level(){ function level2(){ echo 'Text that won\'t get displayed.'; } } level('level2'); echo "\n"; var_dump(ob_get_level()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9hXL
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    8     2        INIT_FCALL                                               'level'
          3        SEND_VAL                                                 'level2'
          4        DO_FCALL                                      0          
    9     5        ECHO                                                     '%0A'
   10     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'ob_get_level'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
   11    11      > RETURN                                                   1

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

End of function level

Function %00level2%2Fin%2FJ9hXL%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9hXL
function name:  level2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'Text+that+won%27t+get+displayed.'
    6     1      > RETURN                                                   null

End of function %00level2%2Fin%2FJ9hXL%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.53 ms | 1398 KiB | 20 Q