Re: Re: PHP 4.0 Bug #7367 Updated: for loop
| From: | eschmid+sic at s dot netic dot de | Date: | Sat, 21 Oct 2000 16:31:05 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #7367 Updated: for loop | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35724@lists.php.net to get a copy of this message | ||
On Sat, Oct 21, 2000 at 05:52:18PM +0200, Andi Gutmans wrote:
> The format of the for loop is:
> for (expr; expr; expr)
>
> There is no reason why adding a ';' after the third expression should work.
> At 04:19 PM 10/20/00 +0200, Dominique Stender wrote:
> >Yeah, its wrong syntax but ";" has no semantic functionality right before a
> >")" or "}" and maybe some more block-ending signs so (IMHO) its a
> >problem of
> >the syntax checker being too strict.
I have told Dominique the same. He calls me sometimes on the phone at
work and have recognized me the last day that I'm working also for
PHP/Zend.
-Egon
--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/