PHP 4.0 Bug #4043: echo within a while loop causes a parse error
| From: | marek at welshdragon dot com | Date: | Wed, 05 Apr 2000 03:39:14 +0000 |
| Subject: | PHP 4.0 Bug #4043: echo within a while loop causes a parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17626@lists.php.net to get a copy of this message | ||
From: marek@welshdragon.com
Operating system: linux 2.2.14
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Misbehaving function
Bug description: echo within a while loop causes a parse error
$DH = opendir(".");
while (echo(readdir($DH)));
this causes a parse error
the other way of using echo also causes a parse error
eg echo readdir