note 12025 added to function.is-file.php

From: Date: Mon, 19 Mar 2001 14:35:03 +0000
Subject: note 12025 added to function.is-file.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12544@lists.php.net to get a copy of this message
is_file() fails inappropriately in some cases. Such a function should not generate 'file not found' type errors--but it can. That rather invalidates its usefulness for checking a file's existence to *avoid* such errors. If you encounter such problems, switch to using file_exists() instead. http://www.php.net/manual/en/function.is-file.php

« previous php.notes (#12544) next »