3v4l.org

run code in 300+ PHP versions simultaneously
<?php function shutdown() { echo "triggered\n"; } register_shutdown_function( 'shutdown' ); echo "start\n"; glob(); echo "end\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/maBnS
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'shutdown'
          2        DO_ICALL                                                 
    9     3        ECHO                                                     'start%0A'
   11     4        INIT_FCALL                                               'glob'
          5        DO_ICALL                                                 
   13     6        ECHO                                                     'end%0A'
          7      > RETURN                                                   1

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

End of function shutdown

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.89 ms | 1397 KiB | 18 Q