{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/4800","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/4800/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/4800/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/4800/events","html_url":"https://github.com/facebook/hhvm/issues/4800","id":56950743,"number":4800,"title":"Unbound Name: LC_*","user":{"login":"bodinsamuel","id":1637651,"avatar_url":"https://avatars.githubusercontent.com/u/1637651?v=3","gravatar_id":"","url":"https://api.github.com/users/bodinsamuel","html_url":"https://github.com/bodinsamuel","followers_url":"https://api.github.com/users/bodinsamuel/followers","following_url":"https://api.github.com/users/bodinsamuel/following{/other_user}","gists_url":"https://api.github.com/users/bodinsamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/bodinsamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodinsamuel/subscriptions","organizations_url":"https://api.github.com/users/bodinsamuel/orgs","repos_url":"https://api.github.com/users/bodinsamuel/repos","events_url":"https://api.github.com/users/bodinsamuel/events{/privacy}","received_events_url":"https://api.github.com/users/bodinsamuel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-08T12:58:49Z","updated_at":"2015-02-08T12:58:49Z","closed_at":null,"body":"Hi,\r\n\r\nI already asked this question in the doc repo but it seems I could came from the type checker.\r\nUsing custom php constants for setlocale on a namespace is reported as error when using strict mode, while it correctly pass when used outside of a ns.\r\n\r\n```php\r\n<?hh // strict\r\nnamespace Myns;\r\nclass Hello\r\n{\r\n   public function locale()\r\n   {\r\n       setlocale(LC_ALL, \"en_US\");\r\n   }\r\n}\r\n```\r\n**Unbound name: LC_ALL (Naming[2049])**\r\n\r\nAll LC_* constants are triggering this error.\r\n\r\nThanks :)"}}