3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass(); echo spl_object_hash($a); unset($a); $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/4T1mS
function name:  (null)
number of ops:  16
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        NEW                                              $6      'stdClass'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $6
    6    11        INIT_FCALL                                               'spl_object_hash'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $9      
         14        ECHO                                                     $9
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.65 ms | 1394 KiB | 15 Q