3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo (string &...$in): string { return implode(', ', $in); } $x = 1; $y = 2; $z = 3; echo foo($x, $y, $z);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Nl5s
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                       !0, 1
    7     1        ASSIGN                                                       !1, 2
    8     2        ASSIGN                                                       !2, 3
    9     3        INIT_FCALL                                                   'foo'
          4        SEND_REF                                                     !0
          5        SEND_REF                                                     !1
          6        SEND_REF                                                     !2
          7        DO_FCALL                                          0  $6      
          8        ECHO                                                         $6
          9      > RETURN                                                       1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Nl5s
function name:  foo
number of ops:  6
compiled vars:  !0 = $in
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   RECV_VARIADIC                                        !0      
    3     1        FRAMELESS_ICALL_2                implode             ~1      '%2C+', !0
          2        VERIFY_RETURN_TYPE                                           ~1
          3      > RETURN                                                       ~1
    4     4*       VERIFY_RETURN_TYPE                                           
          5*     > RETURN                                                       null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
212.21 ms | 2273 KiB | 14 Q