3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.58 ms | 1395 KiB | 17 Q