1--TEST--
2JIT: FETCH_OBJ 002
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11class A {
12   public $x = 2;
13}
14
15class B {
16   public $x = 3;
17   public function __get($name) {
18      var_dump("__get");
19   }
20}
21
22function bar() {
23   $a = new A();
24   var_dump($a->x);
25   var_dump($a->y);
26   $b = new B();
27   var_dump($b->x);
28   unset($b->x);
29   $b->x;
30}
31
32bar();
33?>
34--EXPECTF--
35int(2)
36
37Warning: Undefined property: A::$y in %s on line %d
38NULL
39int(3)
40string(5) "__get"
41