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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 Apr 26 12:01:30 2024 UTC