3v4l.org

run code in 500+ PHP versions simultaneously
<?php function one(string $param) { throw new Exception($param); } function two(#[SensitiveParameter] string $param) { one($param); } two('the secret');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0RaQ
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                                   'two'
          1        SEND_VAL                                                     'the+secret'
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function one:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/G0RaQ
function name:  one
number of ops:  6
compiled vars:  !0 = $param
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        NEW                                                  $1      'Exception'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
          4      > THROW                                             0          $1
    5     5*     > RETURN                                                       null

End of function one

Function two:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0RaQ
function name:  two
number of ops:  5
compiled vars:  !0 = $param
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV                                                 !0      
    8     1        INIT_FCALL                                                   'one'
          2        SEND_VAR                                                     !0
          3        DO_FCALL                                          0          
    9     4      > RETURN                                                       null

End of function two

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
134.25 ms | 1888 KiB | 15 Q