PHP 4.0 Bug #6733: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx
| From: | supin at showermail dot com | Date: | Thu, 14 Sep 2000 05:14:26 +0000 |
| Subject: | PHP 4.0 Bug #6733: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33189@lists.php.net to get a copy of this message | ||
From: supin@showermail.com
Operating system: Linux Redhat 6.2
PHP version: 4.0.2
PHP Bug Type: Scripting Engine problem
Bug description: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx
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