3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a_test($str) { echo "\nHi: $str"; var_dump(debug_backtrace()); } a_test('friend');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/clTrR
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'a_test'
          1        SEND_VAL                                                 'friend'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function a_test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/clTrR
function name:  a_test
number of ops:  10
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      '%0AHi%3A+', !0
          3        ECHO                                                     ~1
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'debug_backtrace'
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    6     9      > RETURN                                                   null

End of function a_test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.06 ms | 1396 KiB | 18 Q