PHP4 crash

From: Date: Mon, 19 Jul 1999 19:15:33 +0000
Subject: PHP4 crash
Groups: php.version4 
Request: Send a blank email to php-version4+get-2247@lists.php.net to get a copy of this message
(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

« previous php.version4 (#2247) next »