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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 10:01:28 2024 UTC