mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
20 lines
262 B
Plaintext
20 lines
262 B
Plaintext
|
--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) {
|
||
|
}
|