3v4l.org

run code in 300+ PHP versions simultaneously
<?php function shutdown() { // This is our shutdown function, in // here we can do any last operations // before the script is complete. echo 'Script executed with success', PHP_EOL; } register_shutdown_function('shutdown'); trigger_error("Fatal error", E_USER_ERROR);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Spf2U
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'shutdown'
          2        DO_ICALL                                                 
   13     3        INIT_FCALL                                               'trigger_error'
          4        SEND_VAL                                                 'Fatal+error'
          5        SEND_VAL                                                 256
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

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

End of function shutdown

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.64 ms | 1394 KiB | 17 Q