3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.82 ms | 1728 KiB | 16 Q