3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_exception_handler(function () { ob_end_clean(); }); set_error_handler(function() { var_dump(debug_backtrace()); throw new Exception(); }); $a['waa'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/35MkN
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_exception_handler'
          1        DECLARE_LAMBDA_FUNCTION                          ~1      [0]
    5     2        SEND_VAL                                                 ~1
    3     3        DO_ICALL                                                 
    7     4        INIT_FCALL                                               'set_error_handler'
          5        DECLARE_LAMBDA_FUNCTION                          ~3      [1]
   11     6        SEND_VAL                                                 ~3
    7     7        DO_ICALL                                                 
   13     8        FETCH_DIM_R                                      ~5      !0, 'waa'
          9        FREE                                                     ~5
         10      > 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/35MkN
function name:  {closure}
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'ob_end_clean'
          1        DO_ICALL                                                 
    5     2      > RETURN                                                   null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/35MkN
function name:  {closure}
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'debug_backtrace'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
   10     5        NEW                                              $2      'Exception'
          6        DO_FCALL                                      0          
          7      > THROW                                         0          $2
   11     8*     > RETURN                                                   null

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.2 ms | 1021 KiB | 18 Q