note 123838 added to locale.getdefault

From: Date: Fri, 10 May 2019 07:41:20 +0000
Subject: note 123838 added to locale.getdefault
Groups: php.notes 
Request: Send a blank email to php-notes+get-211001@lists.php.net to get a copy of this message
If you don't do anything, you can still call these methods and get the server's default locale. In the case of Linux (Ubuntu 16.04), it uses the $LANG global variable. Using the REPL: echo locale_get_default(); // en_US and then resetting the $LANG: tiikeri@ubuntu:~$ LANG="fi_FI.UTF-8" and back to the REPL: echo locale_get_default(); // fi_FI ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.142 (proxied: 88.112.197.17) ---- Manual Page -- http://php.net/manual/en/locale.getdefault.php Edit -- https://master.php.net/note/edit/123838 Del: integrated -- https://master.php.net/note/delete/123838/integrated Del: useless -- https://master.php.net/note/delete/123838/useless Del: bad code -- https://master.php.net/note/delete/123838/bad+code Del: spam -- https://master.php.net/note/delete/123838/spam Del: non-english -- https://master.php.net/note/delete/123838/non-english Del: in docs -- https://master.php.net/note/delete/123838/in+docs Del: other reasons-- https://master.php.net/note/delete/123838 Reject -- https://master.php.net/note/reject/123838 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211001) next »