php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2499 Unsupported read() function ?
Submitted: 1999-10-12 06:22 UTC Modified: 1999-11-23 10:58 UTC
From: fmal at fmal dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: AIX 4.3.2
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: fmal at fmal dot com
New email:
PHP Version: OS:

 

 [1999-10-12 06:22 UTC] fmal at fmal dot com
In few scripts from php3 the directory content is
read by :

$dirn = dir($mypath);
while( $fname = $dirn=>read()) ....

but these script fail with :
Fatal error: Call to undefined function: read() in ....

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-23 10:58 UTC] sas at cvs dot php dot net
It's $dirn->read()
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 23:01:32 2025 UTC