3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.25 ms | 1394 KiB | 17 Q