3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace f; function test() { test2(); } function test2() { print_r(next(debug_backtrace(0))); } function next($a) { return next($a); } test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ScH3S
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_NS_FCALL_BY_NAME                                    'f%5Ctest'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function f%5Ctest

Function f%5Ctest2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ScH3S
function name:  f\test2
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_NS_FCALL_BY_NAME                                    'f%5Cprint_r'
          1        INIT_NS_FCALL_BY_NAME                                    'f%5Cnext'
          2        INIT_NS_FCALL_BY_NAME                                    'f%5Cdebug_backtrace'
          3        SEND_VAL_EX                                              0
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR_NO_REF_EX                                       $0
          6        DO_FCALL                                      0  $1      
          7        SEND_VAR_NO_REF_EX                                       $1
          8        DO_FCALL                                      0          
   11     9      > RETURN                                                   null

End of function f%5Ctest2

Function f%5Cnext:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ScH3S
function name:  f\next
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1        INIT_NS_FCALL_BY_NAME                                    'f%5Cnext'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $1      
          4      > RETURN                                                   $1
   15     5*     > RETURN                                                   null

End of function f%5Cnext

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.56 ms | 1399 KiB | 22 Q