3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_merge(array(5), array(), range(1,3))); var_dump(array() + array() + range(1,3));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZdJmN
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'array_merge'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 <array>
          4        INIT_FCALL                                               'range'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                                 
    4    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'range'
         14        SEND_VAL                                                 1
         15        SEND_VAL                                                 3
         16        DO_ICALL                                         $3      
         17        ADD                                              ~4      <array>, $3
         18        SEND_VAL                                                 ~4
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.27 ms | 1395 KiB | 19 Q