3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo is_int('123a')? 'yes' : 'no',"\n"; $obj = (object)array('123a' => '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 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
Branch analysis from position: 17
filename:       /in/MIWpG
function name:  (null)
number of ops:  18
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   TYPE_CHECK                                   16          '123a'
          1      > JMPZ                                                     ~1, ->4
          2    >   QM_ASSIGN                                        ~2      'yes'
          3      > JMP                                                      ->5
          4    >   QM_ASSIGN                                        ~2      'no'
          5    >   ECHO                                                     ~2
          6        ECHO                                                     '%0A'
    3     7        CAST                                          8  ~3      <array>
          8        ASSIGN                                                   !0, ~3
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    5    12        ISSET_ISEMPTY_PROP_OBJ                                   !0, '123a'
         13      > JMPZ                                                     ~6, ->17
    6    14    >   FETCH_OBJ_R                                      ~7      !0, '123a'
         15        ECHO                                                     ~7
         16        ECHO                                                     '%0A'
    7    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1395 KiB | 15 Q