note 108480 rejected from locale.acceptfromhttp by sp
| From: | sp@php.net | Date: | Wed, 02 May 2012 08:07:57 +0000 |
| Subject: | note 108480 rejected from locale.acceptfromhttp by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187433@lists.php.net to get a copy of this message | ||
Note Submitter: google at predl dot cc
----
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']);