note 43509 added to function.file-exists
| From: | flobee at gmx dot net | Date: | Wed, 23 Jun 2004 19:05:50 +0000 |
| Subject: | note 43509 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71556@lists.php.net to get a copy of this message | ||
yust a little note: some people told me that they dont use this function because of taking too much
performance/time:
well, they are right in some ways: if you expect a file this function runs perferct. if it don´t
find a file it takes really long:
benchmark in a for() statment
500 circles
using file_exists() to be TRUE : 0.00378203392029
using file_exists() to be FALSE: 0.951257944107
----
Manual Page -- http://www.php.net/manual/en/function.file-exists.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43509
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43509&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43509&report=yes
Search -- http://master.php.net/manage/user-notes.php