3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = new stdClass; $id = spl_object_hash($object); $storage[$id] = $object; var_dump($storage); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a1MZO
function name:  (null)
number of ops:  13
compiled vars:  !0 = $object, !1 = $id, !2 = $storage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $3      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    7     3        INIT_FCALL                                               'spl_object_hash'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !1, $6
    8     7        ASSIGN_DIM                                               !2, !1
          8        OP_DATA                                                  !0
   12     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
   13    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.23 ms | 1394 KiB | 17 Q