php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6733 Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx
Submitted: 2000-09-14 01:14 UTC Modified: 2000-10-16 11:11 UTC
From: supin at showermail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.2 OS: Linux Redhat 6.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: supin at showermail dot com
New email:
PHP Version: OS:

 

 [2000-09-14 01:14 UTC] supin at showermail dot com
I use function DIR in version 4.0 is ok. And now 
i converting to new version 4.0.2 not happy it have error
Exam code

...$d = dir("$shop_linkpage");
...while ($file = $d->read()) { // error
...       echo $file
...}
...$d->close(); // error

Method of class $d (read,close) not work. why

Help me please ...
Thank you

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-16 16:44 UTC] stas@php.net
What is in $shop_linkpage? Does that directory exist?
 [2000-10-16 11:11 UTC] sniper@php.net
No feedback. And not enough info.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 09:00:02 2026 UTC