Doc #72843 [Opn->Csd]: [RU] is_numeric does not accept hex, binary in PHP 7+
| From: | rjhdby@php.net | Date: | Sun, 06 Nov 2016 18:43:51 +0000 |
| Subject: | Doc #72843 [Opn->Csd]: [RU] is_numeric does not accept hex, binary in PHP 7+ | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14074@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72843&edit=1
ID: 72843
Updated by: rjhdby@php.net
Reported by: requinix@php.net
Summary: [RU] is_numeric does not accept hex, binary in PHP
7+
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: rjhdby
Block user comment: N
Private report: N
New Comment:
already updated
Previous Comments:
------------------------------------------------------------------------
[2016-08-15 11:00:32] requinix@php.net
Description:
------------
Re: bug #72839
"ШеÑÑнадÑаÑеÑиÑÐ½Ð°Ñ (0xFF),
двоиÑÐ½Ð°Ñ (0b10100111001) и
воÑÑмеÑиÑÐ½Ð°Ñ (0777) запиÑи
Ñакже допÑÑкаÑÑÑÑ, но ÑолÑко
без знака, деÑÑÑиÑной и
ÑкÑпоненÑиалÑной ÑаÑÑи."
Additionally, octal should not be mentioned as is_numeric only handles decimal and will not refuse
an invalid octal string like 0789.
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.strings.hex
https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72843&edit=1