note 19338 deleted from ref.dir by didou

From: Date: Thu, 29 May 2003 22:18:55 +0000
Subject: note 19338 deleted from ref.dir by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49345@lists.php.net to get a copy of this message
Note Submitter: avbentem at hetnet.nl ---- The user annotation above it not correct: one should really use 'identical' to check for FALSE, as a directory may be named FALSE as well... Thus: while ($file = readdir($handle)) should read while (false !== ($file = readdir($handle))) See http://www.php.net/manual/en/function.readdir.php Arjan.

« previous php.notes (#49345) next »