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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chedong at netease dot com
New email:
PHP Version: OS:

 

 [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: Tue Jul 14 02:00:01 2026 UTC