summaryrefslogtreecommitdiff
path: root/tests/lang/bug55754.phpt
blob: c58ec9175af02a7bf9088dcff26f480355124a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #55754 (Only variables should be passed by reference for ZEND_SEND_PREFER_REF params)
--FILE--
<?php

current($arr = array(0 => "a"));
current(array(0 => "a"));
current($arr);

echo "DONE";

?>
--EXPECT--
DONE