3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.57 ms | 3269 KiB | 14 Q