bug73960.phpt   [plain text]


--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"
}