ID: 8353 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Arrays related Assigned To: Comments: no feedback. Previous Comments: --------------------------------------------------------------------------- [2001-01-05 22:52:10] [EMAIL PROTECTED] I get 121 for both cases. Please try the latest snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [2000-12-21 09:44:03] [EMAIL PROTECTED] try 1.: $var[] = "1"; $var[] = "2"; foreach($var as $test) { echo $test; } reset($var); echo current($var); output -> 12 then try: $var[] = "1"; $var[] = "2"; //reset($var); foreach($var as $test) { echo $test; current($var); } echo current($var); output -> 121 this should be the output of the first script too? Greetings lunepi --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8353&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]