note 109323 added to numberformatter.parse
| From: | rdohmsatphpdotnet | Date: | Fri, 06 Jul 2012 11:53:24 +0000 |
| Subject: | note 109323 added to numberformatter.parse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189049@lists.php.net to get a copy of this message | ||
It interesting to note that the expected behavior for this function may change according to your ICU
version.
In ICU 4.4.2 (standard for Ubuntu 10.* with PHP 5.3.5)
With locale 'en', input of 100,1 returns 1001
In ICU 4.8.1 (standard for Ubuntu 12.* with PHP 5.3.10)
With locale 'en', input of 100,1 returns "false"
Be sure to note your ICU version in phpinfo() to be sure you will get the expected output.
----
Server IP: 91.199.167.223
Probable Submitter: 95.97.132.184
----
Manual Page -- http://www.php.net/manual/en/numberformatter.parse.php
Edit -- https://master.php.net/note/edit/109323
Del: integrated -- https://master.php.net/note/delete/109323/integrated
Del: useless -- https://master.php.net/note/delete/109323/useless
Del: bad code -- https://master.php.net/note/delete/109323/bad+code
Del: spam -- https://master.php.net/note/delete/109323/spam
Del: non-english -- https://master.php.net/note/delete/109323/non-english
Del: in docs -- https://master.php.net/note/delete/109323/in+docs
Del: other reasons-- https://master.php.net/note/delete/109323
Reject -- https://master.php.net/note/reject/109323
Search -- https://master.php.net/manage/user-notes.php