3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_map( function () { var_dump(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)); throw new \Exception('test'); }, ['foo'] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6gDAv
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_map'
    4     1        DECLARE_LAMBDA_FUNCTION                          ~0      [0]
    7     2        SEND_VAL                                                 ~0
    8     3        SEND_VAL                                                 <array>
    3     4        DO_ICALL                                                 
    9     5      > 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/6gDAv
function name:  {closure}
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'debug_backtrace'
          2        SEND_VAL                                                 2
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    6     6        NEW                                              $2      'Exception'
          7        SEND_VAL_EX                                              'test'
          8        DO_FCALL                                      0          
          9      > THROW                                         0          $2
    7    10*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.64 ms | 1428 KiB | 16 Q