3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.68 ms | 1394 KiB | 19 Q