blob: 04df3bdeb54dd10a19d5982986ecce18f2993889 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Bug #23104 (Hash position not reset for constant arrays)
--FILE--
<?php
function foo($bar = array("a", "b", "c"))
{
var_dump(current($bar));
}
foo();
?>
--EXPECT--
string(1) "a"
|