3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.6 ms | 1386 KiB | 15 Q