PHP 4.0 Bug #6940 Updated: dir() function can't work on Solaris 7
| From: | Bug Database | Date: | Fri, 29 Sep 2000 19:43:10 +0000 |
| Subject: | PHP 4.0 Bug #6940 Updated: dir() function can't work on Solaris 7 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33865@lists.php.net to get a copy of this message | ||
ID: 6940
Updated by: rasmus
Reported By: chedong@netease.com
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
Fixed in CVS
Previous Comments:
---------------------------------------------------------------------------
[2000-09-29 11:47:40] chedong@netease.com
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?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6940