RE: [PHP-DEV] http://bugs.php.net/bugs.php?id=5704
| From: | James Moore | Date: | Tue, 29 Aug 2000 15:15:15 +0000 |
| Subject: | RE: [PHP-DEV] http://bugs.php.net/bugs.php?id=5704 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31076@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Cynic [mailto:cynic@mail.cz]
> Sent: 29 August 2000 16:03
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] http://bugs.php.net/bugs.php?id=5704
>
>
> 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.
This is the output I get from latest CVS..
1:
1
2
3
2:
1
2
3
3:
1
2
3
In pl2 This output is
1:
1
2
3
Please upgrade when php 4.0.2 is finally repleased.