note 124130 deleted from function.is-numeric by crell

From: 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?

« previous php.notes (#218260) next »