summaryrefslogtreecommitdiff
path: root/Zend/tests/bug70288.phpt
blob: 4b55d0b4769f4428580c1368746e46bc422e0071 (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) {
}