xref: /php-src/tests/lang/bug55754.phpt (revision 70a6a67c)
1--TEST--
2Bug #55754 (Only variables should be passed by reference for ZEND_SEND_PREFER_REF params)
3--FILE--
4<?php
5
6current($arr = array(0 => "a"));
7current(array(0 => "a"));
8current($arr);
9
10echo "DONE";
11
12?>
13--EXPECT--
14DONE
15