Bug #14915: for statement returns nothing.
| From: | jacob at keystreams dot com | Date: | Mon, 07 Jan 2002 20:00:36 +0000 |
| Subject: | Bug #14915: for statement returns nothing. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76212@lists.php.net to get a copy of this message | ||
From: jacob@keystreams.com
Operating system: Linux 2.4.9
PHP version: 4.1.0
PHP Bug Type: Unknown/Other Function
Bug description: for statement returns nothing.
when issuing the following syntactically incorrect 'for' statement nothing
was returned (note the semi-colon before the parenthesis) even though at
least one loop should take place. Should not a parse error be returned?
for ($i = $start; $i <= 10; $i++); {
echo 'something';
}
'./configure' '--with-mysql' '--with-apache=../apache_1.3.22'
'--enable-track-vars' '--with-curl' '--with-dom'
'--with-zlib'
This is a public/production server so debugging is turned off.
--
Edit bug report at: http://bugs.php.net/?id=14915&edit=1