3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $teste; } $a = new A(); echo $a && isset($a->x) && $a->x;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 6
filename:       /in/C3eB5
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'A'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   11     3      > JMPZ_EX                                          ~4      !0, ->6
          4    >   ISSET_ISEMPTY_PROP_OBJ                           ~5      !0, 'x'
          5        BOOL                                             ~4      ~5
          6    > > JMPZ_EX                                          ~4      ~4, ->9
          7    >   FETCH_OBJ_R                                      ~6      !0, 'x'
          8        BOOL                                             ~4      ~6
          9    >   ECHO                                                     ~4
   12    10      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.9 ms | 1409 KiB | 13 Q