xref: /PHP-8.3/tests/lang/bug55754.phpt (revision 05c5c895)
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