3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.36 ms | 1012 KiB | 14 Q