3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.22 ms | 1394 KiB | 19 Q