3v4l.org

run code in 300+ PHP versions simultaneously
<?php function outer_function() { var_dump(debug_backtrace()); } class ExampleObject { function __construct() { outer_function(); } } new ExampleObject();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I7ffr
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $0      'ExampleObject'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Function outer_function:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I7ffr
function name:  outer_function
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'debug_backtrace'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
    5     5      > RETURN                                                   null

End of function outer_function

Class ExampleObject:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I7ffr
function name:  __construct
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'outer_function'
          1        DO_FCALL                                      0          
   10     2      > RETURN                                                   null

End of function __construct

End of class ExampleObject.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.85 ms | 1397 KiB | 18 Q