3v4l.org

run code in 500+ PHP versions simultaneously
<?php define('FOO', [1,2,3]); function f($a, $b, $c) { var_dump($a, $b, $c); } f(...FOO);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EGfFN
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'define'
          1        SEND_VAL                                                     'FOO'
          2        SEND_VAL                                                     <array>
          3        DO_ICALL                                                     
    9     4        INIT_FCALL                                                   'f'
          5        FETCH_CONSTANT                                       ~1      'FOO'
          6        SEND_UNPACK                                                  ~1
          7        CHECK_UNDEF_ARGS                                             
          8        DO_FCALL                                          0          
          9      > RETURN                                                       1

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

End of function f

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.55 ms | 2569 KiB | 16 Q