3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.33 ms | 1394 KiB | 17 Q