1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/bug70288.phpt
2020-02-03 22:52:20 +01:00

20 lines
277 B
PHP

--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) {
}