note 25188 added to function.setlocale
| From: | dharana at dharana dot net | Date: | Fri, 13 Sep 2002 15:09:33 +0000 |
| Subject: | note 25188 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36634@lists.php.net to get a copy of this message | ||
Take care of setlocale use. I did some benchmarks and I found that setlocale() alone is as slow as
the rest of the script without the setlocale function; the benchmarks where done on this page:
http://www.4unrealers.com
And some numbers:
setlocale execution time: 0.6secs
rest of the php script execution time: 0.6secs
Don't know why is this happening.
--
http://www.php.net/manual/en/function.setlocale.php
http://master.php.net/manage/user-notes.php?action=edit+25188
http://master.php.net/manage/user-notes.php?action=delete+25188
http://master.php.net/manage/user-notes.php?action=reject+25188