1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/Zend/tests/bug67922.phpt
Nikita Popov ae7e663330 Fix bug #67922
2014-08-29 00:18:38 +02:00

20 lines
261 B
PHP

--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===