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'); class A {} chr(new A());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPpnP
function name:  (null)
number of ops:  9
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                                                 
   15     3        INIT_FCALL                                               'chr'
          4        NEW                                              $1      'A'
          5        DO_FCALL                                      0          
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function shutdown:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPpnP
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

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.07 ms | 1394 KiB | 17 Q