php.net |  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
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:
MUST BE VALID
Solve the problem:
37 - 6 = ?
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
<br>
<b>Parse error</b>: parse error in <b>do.php3 on line <b>3</b><br>

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-31 11:36 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 23:01:27 2024 UTC