Re: Re: PHP 4.0 Bug #6118 Updated: Can not supress runtime warnings onforeach
| From: | Derick Rethans | Date: | Fri, 11 Aug 2000 19:14:45 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #6118 Updated: Can not supress runtime warnings onforeach | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28650@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
> RB>> Excuse me, but what you are saying makes absolutely no sense.
>
> That's what students often say to Zen master ;))
>
> RB>> The manual CLEARLY states that errors can be supressed, but obviouly
> RB>> foreach is an exception to this rule. THIS IS THE BUG - the fact that we
> RB>> have a function behaving in a unique, contrary fashion to the others.
> RB>> Therefore, this IS a valid bug.
>
> Well, foreach isn't an expression. foreach is control structure. While
> @foreach might be nice, in is not in current PHP, meaning it's not a
> bug.
> BUT, this is a valid feature request, IMHO - so it should be reopened.
I give you mine apollogies for the closing...
--
Derick Rethans
JDI Media Solutions