3v4l.org

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

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

End of function asd1

Function asd2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nu6dS
function name:  asd2
number of ops:  7
compiled vars:  !0 = $trace
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'debug_backtrace'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
   11     3        INIT_FCALL                                               'print_r'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   12     6      > RETURN                                                   null

End of function asd2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.66 ms | 1397 KiB | 18 Q