--- /dev/null 2011-07-31 22:39:26.003634828 +0200 +++ php-5.3.8/tests/lang/bug55754.phpt 2011-09-23 12:39:35.000000000 +0200 @@ -0,0 +1,14 @@ +--TEST-- +Bug #55754 (Only variables should be passed by reference for ZEND_SEND_PREFER_REF params) +--FILE-- + "a")); +current(array(0 => "a")); +current($arr); + +echo "DONE"; + +?> +--EXPECT-- +DONE