3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new StdClass; $a1 = [[$o], [$o]]; $a2 = [[$o], [$o]]; var_dump($a1 === $a2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E5U97
function name:  (null)
number of ops:  18
compiled vars:  !0 = $o, !1 = $a1, !2 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'StdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    3     3        INIT_ARRAY                                       ~6      !0
          4        INIT_ARRAY                                       ~7      ~6
          5        INIT_ARRAY                                       ~8      !0
          6        ADD_ARRAY_ELEMENT                                ~7      ~8
          7        ASSIGN                                                   !1, ~7
    4     8        INIT_ARRAY                                       ~10     !0
          9        INIT_ARRAY                                       ~11     ~10
         10        INIT_ARRAY                                       ~12     !0
         11        ADD_ARRAY_ELEMENT                                ~11     ~12
         12        ASSIGN                                                   !2, ~11
    5    13        INIT_FCALL                                               'var_dump'
         14        IS_IDENTICAL                                     ~14     !1, !2
         15        SEND_VAL                                                 ~14
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.13 ms | 1386 KiB | 15 Q