3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = (object)array( ('123a' + 0) => '456'); var_dump($obj); if ( isset($obj->{'123a'})) { echo $obj->{'123a'},"\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/TF8u2
function name:  (null)
number of ops:  13
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ADD                                              ~1      '123a', 0
          1        INIT_ARRAY                                       ~2      '456', ~1
          2        CAST                                          8  ~3      ~2
          3        ASSIGN                                                   !0, ~3
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        ISSET_ISEMPTY_PROP_OBJ                                   !0, '123a'
          8      > JMPZ                                                     ~6, ->12
    5     9    >   FETCH_OBJ_R                                      ~7      !0, '123a'
         10        ECHO                                                     ~7
         11        ECHO                                                     '%0A'
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.27 ms | 1385 KiB | 15 Q