note 124130 deleted from function.is-numeric by crell
| From: | crell@php.net | Date: | Mon, 18 Apr 2022 14:51:04 +0000 |
| Subject: | note 124130 deleted from function.is-numeric by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218260@lists.php.net to get a copy of this message | ||
Note Submitter: orcinus
----
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?