3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.31 ms | 1395 KiB | 17 Q