3v4l.org

run code in 500+ PHP versions simultaneously
<?php // PHPで扱えるINTの最大値をあらかじめキーとしておきます $a = [PHP_INT_MAX => 'ABC']; $a[] = 1; // Fatal error: Uncaught Error: Cannot add element to the array as the next element is already occupied // 追加できずに停止します
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4899u
function name:  (null)
number of ops:  4
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        ASSIGN_DIM                                                   !0
          2        OP_DATA                                                      1
    7     3      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.61 ms | 1877 KiB | 13 Q