1--TEST--
2Backed property with implicit set
3--FILE--
4<?php
5
6class C {
7 public $prop {
8 get {
9 echo __METHOD__, "\n";
10 return $this->prop;
11 }
12 }
13}
14
15$c = new C();
16$c->prop = 42;
17var_dump($c->prop);
18
19?>
20--EXPECT--
21C::$prop::get
22int(42)
23