note 42109 added to ref.gettext
| From: | kocioatircdotpl at rn2 dot php dot net | Date: | Mon, 03 May 2004 19:26:47 +0000 |
| Subject: | note 42109 added to ref.gettext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69169@lists.php.net to get a copy of this message | ||
Following three lines take about 0.5 second to execute (Debian, Celeron 2GHz, 256MB RAM):
setlocale(LC_ALL, 'pl_PL');
bindtextdomain('my_domain', '../dir/' . 'locale');
textdomain('my_domain');
I think that such delay is important enough to be mentioned in the documentation. In my particular
case, it means more than doubled execution time for the entire script.
----
Manual Page -- http://www.php.net/manual/en/ref.gettext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42109
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42109&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42109&report=yes
Search -- http://master.php.net/manage/user-notes.php