3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_merge(array(5), (array) '7', 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/XNYTp
function name:  (null)
number of ops:  22
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        CAST                                          7  ~0      '7'
          4        SEND_VAL                                                 ~0
          5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 3
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
    4    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'range'
         15        SEND_VAL                                                 1
         16        SEND_VAL                                                 3
         17        DO_ICALL                                         $4      
         18        ADD                                              ~5      <array>, $4
         19        SEND_VAL                                                 ~5
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.48 ms | 1395 KiB | 19 Q