3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = new SplObjectStorage(); $hash[new ArrayObject(array(1, 2, 'three'))] = "jim jones"; echo $hash[new ArrayObject(array(1, 2, 'three'))]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nsj6t
function name:  (null)
number of ops:  14
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'SplObjectStorage'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    5     3        NEW                                              $4      'ArrayObject'
          4        SEND_VAL_EX                                              <array>
          5        DO_FCALL                                      0          
          6        ASSIGN_DIM                                               !0, $4
          7        OP_DATA                                                  'jim+jones'
    7     8        NEW                                              $7      'ArrayObject'
          9        SEND_VAL_EX                                              <array>
         10        DO_FCALL                                      0          
         11        FETCH_DIM_R                                      ~9      !0, $7
         12        ECHO                                                     ~9
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.52 ms | 1393 KiB | 13 Q