php-src/Zend/tests/bug73960.phpt
2017-03-10 18:20:32 +01:00

17 lines
245 B
PHP

--TEST--
Bug #73960: Leak with instance method calling static method with referenced return
--FILE--
<?php
$value = 'one';
$array = array($value);
$array = $ref =& $array;
var_dump($array);
?>
--EXPECT--
array(1) {
[0]=>
string(3) "one"
}