3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash->{"123"} = "123"; $hash->apple = "pear"; var_dump($hash); echo $hash->{'123'};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tSmWN
function name:  (null)
number of ops:  10
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_OBJ                                               !0, '123'
          1        OP_DATA                                                  '123'
    3     2        ASSIGN_OBJ                                               !0, 'apple'
          3        OP_DATA                                                  'pear'
    4     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    5     7        FETCH_OBJ_R                                      ~4      !0, '123'
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.39 ms | 1398 KiB | 15 Q