note 108480 added to locale.acceptfromhttp
| From: | google at predl dot cc | Date: | Sun, 29 Apr 2012 11:13:32 +0000 |
| Subject: | note 108480 added to locale.acceptfromhttp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187402@lists.php.net to get a copy of this message | ||
i'm using in php 5.3.10 the following statement:
Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE'])
Output nothing. I'm using namespaces and to get the class to work i added a \ is that a
problem?
echo \Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
----
Server IP: 69.147.83.197
Probable Submitter: 85.125.208.138
----
Manual Page -- http://www.php.net/manual/en/locale.acceptfromhttp.php
Edit -- https://master.php.net/note/edit/108480
Del: integrated -- https://master.php.net/note/delete/108480/integrated
Del: useless -- https://master.php.net/note/delete/108480/useless
Del: bad code -- https://master.php.net/note/delete/108480/bad+code
Del: spam -- https://master.php.net/note/delete/108480/spam
Del: non-english -- https://master.php.net/note/delete/108480/non-english
Del: in docs -- https://master.php.net/note/delete/108480/in+docs
Del: other reasons-- https://master.php.net/note/delete/108480
Reject -- https://master.php.net/note/reject/108480
Search -- https://master.php.net/manage/user-notes.php