note 20419 added to function.filectime

From: Date: Wed, 03 Apr 2002 11:32:28 +0000
Subject: note 20419 added to function.filectime
Groups: php.notes 
Request: Send a blank email to php-notes+get-28536@lists.php.net to get a copy of this message
It seems that in PHP 4.1 filectime (and probably other related functions) drops an error if the file specified doesn't exist: Warning: stat failed for /tmp/noexite (errno=2 - No such file or directory) On previous versions (4.0) no report was given. If you use this option with "display_errors = On" should prepend the function with @ to avoid the printing of the errrors, or check if the file exits before making filectime's. -- http://www.php.net/manual/en/function.filectime.php http://master.php.net/manage/user-notes.php?action=edit+20419 http://master.php.net/manage/user-notes.php?action=delete+20419 http://master.php.net/manage/user-notes.php?action=reject+20419

« previous php.notes (#28536) next »