3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This is file: /var/www/test/debug.php function foo() { bar(1); } function bar($myInt=0) { debug_print_backtrace(); } foo(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eZ8BW
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'foo'
          1        DO_FCALL                                      0          
   12     2      > RETURN                                                   1

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

End of function foo

Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eZ8BW
function name:  bar
number of ops:  4
compiled vars:  !0 = $myInt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV_INIT                                        !0      0
    8     1        INIT_FCALL                                               'debug_print_backtrace'
          2        DO_ICALL                                                 
    9     3      > RETURN                                                   null

End of function bar

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.61 ms | 1397 KiB | 16 Q