3v4l.org

run code in 300+ PHP versions simultaneously
<?php function init(){ error(); } function error() { var_dump( debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2) ); } init();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D0j08
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'init'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function init:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D0j08
function name:  init
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'error'
          1        DO_FCALL                                      0          
    5     2      > RETURN                                                   null

End of function init

Function error:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D0j08
function name:  error
number of ops:  8
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        SEND_VAL                                                 1
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    9     7      > RETURN                                                   null

End of function error

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.45 ms | 1401 KiB | 18 Q