3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $obj1 = new Foo(); $obj2 = new Foo(); echo spl_object_hash($obj1) . '<br />'; echo spl_object_hash($obj2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oVkg7
function name:  (null)
number of ops:  16
compiled vars:  !0 = $obj1, !1 = $obj2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $2      'Foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    9     3        NEW                                              $5      'Foo'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   11     6        INIT_FCALL                                               'spl_object_hash'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $8      
          9        CONCAT                                           ~9      $8, '%3Cbr+%2F%3E'
         10        ECHO                                                     ~9
   12    11        INIT_FCALL                                               'spl_object_hash'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $10     
         14        ECHO                                                     $10
         15      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.71 ms | 1394 KiB | 15 Q