3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.69 ms | 1395 KiB | 15 Q