3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); function byref_function(&$a, &$b) { } $array = [1, 2]; byref_function(...$array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2SLvM
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    9     3        ASSIGN                                                   !0, <array>
   11     4        INIT_FCALL                                               'byref_function'
          5        SEND_UNPACK                                              !0
          6        CHECK_UNDEF_ARGS                                         
          7        DO_FCALL                                      1          
          8      > RETURN                                                   1

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

End of function byref_function

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.29 ms | 1397 KiB | 16 Q