3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo(#[\SensitiveParameter] string $testParameter): void { bar($testParameter); } function bar(string $testParameter): void { baz($testParameter); } function baz(string $testParameter): void { var_dump(debug_backtrace()); } foo('Hello');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bWI8W
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                                   'foo'
          1        SEND_VAL                                                     'Hello'
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bWI8W
function name:  foo
number of ops:  5
compiled vars:  !0 = $testParameter
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        INIT_FCALL_BY_NAME                                           'bar'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
    5     4      > 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/bWI8W
function name:  bar
number of ops:  5
compiled vars:  !0 = $testParameter
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV                                                 !0      
    8     1        INIT_FCALL_BY_NAME                                           'baz'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
    9     4      > RETURN                                                       null

End of function bar

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

End of function baz

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.92 ms | 483 KiB | 10 Q