PHP 4.0 Bug #6940: dir() function can't work on Solaris 7
| From: | chedong at netease dot com | Date: | Fri, 29 Sep 2000 15:47:40 +0000 |
| Subject: | PHP 4.0 Bug #6940: dir() function can't work on Solaris 7 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33864@lists.php.net to get a copy of this message | ||
From: chedong@netease.com
Operating system: Solaris 7
PHP version: 4.0.2
PHP Bug Type: *General Issues
Bug description: dir() function can't work on Solaris 7
following code works properly on FreeBSD but failed on Solaris 7 with php4.0.2
>>>>>>>>>>>
<?php
$dir = "/home/chedong/public_html";
$d = dir($dir);
while($entry = $d->read()){
echo $entry."<br>";
}
?>
<<<<<<<<<<<<
We found the error occured at
$d->read()
when the file read directory again there is no message returned.....
is it a bug on Sun OS?