|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #213 do { } while (); parser error on RC2
Submitted: 1998-03-30 14:02 UTC Modified: 1998-03-31 11:36 UTC
From: chrism at FOUR dot net Assigned: andi (profile)
Status: Closed Package: Parser error
PHP Version: 3.0 Release Cand OS: FreeBSD2.2.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
24 - 9 = ?
Subscribe to this entry?

 [1998-03-30 14:02 UTC] chrism at FOUR dot net
Compiled CGI rc2 this morning on FreeBSD 2.2.1 - No errors.

Tried to run some scripts.  Parse error at 'do {' line.
$i = 0;
do {
     echo $i++ . "\n";
} while ($i < 3);

php -q do.php3
<b>Parse error</b>: parse error in <b>do.php3 on line <b>3</b><br>

do {} while(); dropped out of RC2?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-31 11:36 UTC] rasmus
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 17:01:24 2023 UTC