http://bugs.php.net/bugs.php?id=5704
| From: | Cynic | Date: | Tue, 29 Aug 2000 15:02:53 +0000 |
| Subject: | http://bugs.php.net/bugs.php?id=5704 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31074@lists.php.net to get a copy of this message | ||
I tried to send this to sterling@cvs.php.net, who
seems to have closed the bug, but the msg bounced.
("Hi. This is the qmail-send program at toye.php.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<sterling@toye.php.net>:
Sorry, no mailbox here by that name. (#5.1.1)")
>[2000-07-20 20:47:20] sterling@cvs.php.net
>
>You need to reset() the array manually.
but the manual says foreach() resets the array. definitely,
something's wrong.
I found this bug when I was looking for some info
on strings being actually arrays. foreach() doesn't
accept a string as an argument. I think this is a bug,
and I'm filing a bug report.
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz
ICQ: 2808 2505