php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6940 dir() function can't work on Solaris 7
Submitted: 2000-09-29 11:47 UTC Modified: 2000-09-29 15:43 UTC
From: chedong at netease dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: Solaris 7
Private report: No CVE-ID: None
 [2000-09-29 11:47 UTC] chedong at netease dot 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 15:43 UTC] rasmus@php.net
Fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jul 13 20:00:02 2026 UTC