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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chrism at FOUR dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 01:01:28 2024 UTC