3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
200.76 ms | 1887 KiB | 14 Q