Return to bug55754.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 misho 1: --TEST-- 2: Bug #55754 (Only variables should be passed by reference for ZEND_SEND_PREFER_REF params) 3: --FILE-- 4: <?php 5: 6: current($arr = array(0 => "a")); 7: current(array(0 => "a")); 8: current($arr); 9: 10: echo "DONE"; 11: 12: ?> 13: --EXPECT-- 14: DONE