summaryrefslogtreecommitdiff
path: root/Zend/tests/bug70288.phpt
blob: 502bfc7bf006158e7c5f45ab633ba2dc6e2c86bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #70288 (Apache crash related to ZEND_SEND_REF)
--FILE--
<?php
class A {
    public function __get($name) {
        return new Stdclass();
    }
}

function test(&$obj) {
    var_dump($obj);
}
$a = new A;
test($a->dummy);
?>
--EXPECTF--
object(stdClass)#%d (0) {
}