3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1 => "abc", 2 => "def"]; $b = [1 => "ghi", 2 => "jkl"]; $c = [1 => "mno", 2 => "pqr"]; array_push($a, ...$b, ...$c); var_export($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FSkAa
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'array_push'
          4        SEND_REF                                                 !0
          5        SEND_UNPACK                                              !1
          6        SEND_UNPACK                                              !2
          7        CHECK_UNDEF_ARGS                                         
          8        DO_ICALL                                                 
    8     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.6 ms | 1004 KiB | 15 Q