1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/tests/lang/bug55754.phpt

15 lines
223 B
PHP

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