3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () { throw new \Exception(); }); $a = []; echo @$a[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qQjSH
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                          ~1      [0]
    5     2        SEND_VAL                                                 ~1
    3     3        DO_ICALL                                                 
    7     4        ASSIGN                                                   !0, <array>
    8     5        BEGIN_SILENCE                                    ~4      
          6        FETCH_DIM_R                                      ~5      !0, 0
          7        END_SILENCE                                              ~4
          8        ECHO                                                     ~5
          9      > RETURN                                                   1


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

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.09 ms | 1009 KiB | 14 Q