summaryrefslogtreecommitdiff
path: root/Zend/tests/bug73960.phpt
blob: 533c87afb02e159ab5cb9de8b6c318c700c49edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--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"
}