note 124130 added to function.is-numeric
| From: | orcinus@php.net | Date: | Thu, 22 Aug 2019 21:37:52 +0000 |
| Subject: | note 124130 added to function.is-numeric | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211954@lists.php.net to get a copy of this message | ||
This page is a hot mess.
The changes note states:
â7.0.0 Strings in hexadecimal (e.g. 0xf4c3b00c) notation are no longer regarded as numeric
strings, i.e. is_numeric() returns FALSE now.â
Meanwhile, the description says:
âHexadecimal (e.g. 0xf4c3b00c) *and binary* (e.g. 0b10100111001) notation is not allowed.â
And finally, the examples section claims both are TRUE for is_binary.
What the hell?
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.168 (proxied: 188.252.198.108)
----
Manual Page -- http://php.net/manual/en/function.is-numeric.php
Edit -- https://master.php.net/note/edit/124130
Del: integrated -- https://master.php.net/note/delete/124130/integrated
Del: useless -- https://master.php.net/note/delete/124130/useless
Del: bad code -- https://master.php.net/note/delete/124130/bad+code
Del: spam -- https://master.php.net/note/delete/124130/spam
Del: non-english -- https://master.php.net/note/delete/124130/non-english
Del: in docs -- https://master.php.net/note/delete/124130/in+docs
Del: other reasons-- https://master.php.net/note/delete/124130
Reject -- https://master.php.net/note/reject/124130
Search -- https://master.php.net/manage/user-notes.php