3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = []; echo spl_object_hash($o[] = (object) array()); echo spl_object_hash($o[] = (object) array()); echo spl_object_hash($o[] = (object) array());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W0Egj
function name:  (null)
number of ops:  23
compiled vars:  !0 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'spl_object_hash'
          2        CAST                                          8  ~3      <array>
          3        ASSIGN_DIM                                       ~2      !0
          4        OP_DATA                                                  ~3
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $4      
          7        ECHO                                                     $4
    5     8        INIT_FCALL                                               'spl_object_hash'
          9        CAST                                          8  ~6      <array>
         10        ASSIGN_DIM                                       ~5      !0
         11        OP_DATA                                                  ~6
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $7      
         14        ECHO                                                     $7
    6    15        INIT_FCALL                                               'spl_object_hash'
         16        CAST                                          8  ~9      <array>
         17        ASSIGN_DIM                                       ~8      !0
         18        OP_DATA                                                  ~9
         19        SEND_VAL                                                 ~8
         20        DO_ICALL                                         $10     
         21        ECHO                                                     $10
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.95 ms | 1386 KiB | 15 Q