3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = array(); $bar = array(); $foo[ 1 ] = 'hello'; $bar[ '1' ] = 'hello'; echo ( $foo === $bar ? '✅ IDENTICAL' : '❌ DIFFERENT' );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AU3Qr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, <array>
    6     2        ASSIGN_DIM                                                   !0, 1
          3        OP_DATA                                                      'hello'
    7     4        ASSIGN_DIM                                                   !1, 1
          5        OP_DATA                                                      'hello'
    9     6        IS_IDENTICAL                                                 !0, !1
          7      > JMPZ                                                         ~6, ->10
          8    >   QM_ASSIGN                                            ~7      '%E2%9C%85+IDENTICAL'
          9      > JMP                                                          ->11
         10    >   QM_ASSIGN                                            ~7      '%E2%9D%8C+DIFFERENT'
         11    >   ECHO                                                         ~7
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
180.37 ms | 3370 KiB | 13 Q