3v4l.org

run code in 500+ PHP versions simultaneously
<?php function intermediary($a) { call(...$a); } function call($validArg) {} intermediary(['validArg' => 1, 'invalid arg even as a literal' => 2]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZJXYX
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'intermediary'
          1        SEND_VAL                                                     <array>
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function intermediary:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZJXYX
function name:  intermediary
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   RECV                                                 !0      
    3     1        INIT_FCALL_BY_NAME                                           'call'
          2        SEND_UNPACK                                                  !0
          3        CHECK_UNDEF_ARGS                                             
          4        DO_FCALL                                          1          
    4     5      > RETURN                                                       null

End of function intermediary

Function call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZJXYX
function name:  call
number of ops:  2
compiled vars:  !0 = $validArg
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
          1      > RETURN                                                       null

End of function call

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.28 ms | 1412 KiB | 14 Q