summaryrefslogtreecommitdiff
path: root/Zend/tests/bug67922.phpt
blob: c6ca10d8b6ef9103970b2f2d053924f435a559fd (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===