Re: [PHP-DEV] Re: PHP 4.0 Bug #7367 Updated: for loop From: eschmid+sic <email protected>
Date: 10/21/00

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/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>