3v4l.org

run code in 500+ PHP versions simultaneously
<?php header_register_callback(function () { echo 'header'; register_shutdown_function(function () { echo 'shutdown'; }); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YHam1
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'header_register_callback'
          1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
    8     2        SEND_VAL                                                     ~0
    3     3        DO_ICALL                                                     
    8     4      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YHam1
function name:  {closure:/in/YHam1:3}
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                         'header'
    5     1        INIT_FCALL                                                   'register_shutdown_function'
          2        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
    7     3        SEND_VAL                                                     ~0
    5     4        DO_ICALL                                                     
    8     5      > 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/YHam1
function name:  {closure:{closure:/in/YHam1:3}:5}
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                         'shutdown'
    7     1      > RETURN                                                       null

End of Dynamic Function 0

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
179.18 ms | 2228 KiB | 15 Q