Re: [PHP4BETA] PHP4 crash
| From: | Zeev Suraski | Date: | Mon, 19 Jul 1999 21:01:49 +0000 |
| Subject: | Re: [PHP4BETA] PHP4 crash | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2251@lists.php.net to get a copy of this message | ||
Fixed - it's the very last patch that made it to PHP 4.0 Beta 1 :)
Zeev
At 07:15 PM 7/19/99 +0000, Jim Winstead wrote:
(This is using the version installed on www.php.net. Perhaps it is fixed in more recent versions.) <?$d = dir("/does/not/exist"); while ($f = $d->readdir()) {echo "$f<br>";} ?> Works fine if the path to the directory exists. I assume it may be even simpler than that, like trying to call a method on any variable that isn't set, or isn't an object, or something along those lines. Jim -- PHP 4 Beta