3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.61 ms | 1398 KiB | 17 Q