3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=(object)[]; echo isset($a->b) && 123 == $a->b;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/44v3a
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          8  ~1      <array>
          1        ASSIGN                                                   !0, ~1
    4     2        ISSET_ISEMPTY_PROP_OBJ                           ~3      !0, 'b'
          3      > JMPZ_EX                                          ~3      ~3, ->7
          4    >   FETCH_OBJ_R                                      ~4      !0, 'b'
          5        IS_EQUAL                                         ~5      ~4, 123
          6        BOOL                                             ~3      ~5
          7    >   ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165 ms | 1392 KiB | 13 Q