3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = ['resultLimit' => ['limit' => 10, 'offset' => 0]]; print_r($options['resultLimit']['offset'] += 500);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MelY3
function name:  (null)
number of ops:  8
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'print_r'
          2        FETCH_DIM_RW                                     $2      !0, 'resultLimit'
          3        ASSIGN_DIM_OP                +=               1  ~3      $2, 'offset'
          4        OP_DATA                                                  500
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.97 ms | 1385 KiB | 15 Q