summaryrefslogtreecommitdiff
path: root/Zend/tests/bug67922.phpt
blob: 8be3f2eba06715a2f70e3a64af391d8fbdde0290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #67922: Member function not found when dereferencing in write-context
--FILE--
<?php

class C {
	public function test() {
		return new stdClass;
	}
}

$b = new stdClass;
$b->c = new C;
$b->c->test()->d = 'str';

?>
===DONE===
--EXPECT--
===DONE===