3v4l.org

run code in 300+ PHP versions simultaneously
<?php function crash() { $notDefined[$i] = 'test'; } set_error_handler(function () {}); crash(); crash();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d9rcK
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fd9rcK%3A8%240'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    9     4        INIT_FCALL                                               'crash'
          5        DO_FCALL                                      0          
   10     6        INIT_FCALL                                               'crash'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Function crash:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d9rcK
function name:  crash
number of ops:  3
compiled vars:  !0 = $notDefined, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN_DIM                                               !0, !1
          1        OP_DATA                                                  'test'
    6     2      > RETURN                                                   null

End of function crash

Function %00%7Bclosure%7D%2Fin%2Fd9rcK%3A8%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d9rcK
function name:  {closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fd9rcK%3A8%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.2 ms | 1397 KiB | 17 Q