3v4l.org

run code in 300+ PHP versions simultaneously
<?php throw new Exception("sdfsd"); register_shutdown_function( function() { print_r(error_get_last()); } );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/GjrmH
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      'Exception'
          1        SEND_VAL_EX                                              'sdfsd'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $0
    5     4*       INIT_FCALL                                               'register_shutdown_function'
    6     5*       DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FGjrmH%3A6%240'
    9     6*       SEND_VAL                                                 ~2
          7*       DO_ICALL                                                 
   10     8*     > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FGjrmH%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GjrmH
function name:  {closure}
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'error_get_last'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
    9     5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FGjrmH%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.32 ms | 1395 KiB | 19 Q