[PHP-DEV] PHP 4.0 Bug #6940 Updated: dir() function can't work on Solaris 7 From: Bug Database (php-dev <email protected>)
Date: 09/29/00

ID: 6940
Updated by: rasmus
Reported By: chedong <email protected>
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:

Fixed in CVS

Previous Comments:
---------------------------------------------------------------------------

[2000-09-29 11:47:40] chedong <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>