Re: Re: Supporting Binary Notation for Integers
| From: | Jonah H. Harris | Date: | Fri, 12 Nov 2010 17:08:50 +0000 |
| Subject: | Re: Re: Supporting Binary Notation for Integers | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50173@lists.php.net to get a copy of this message | ||
On Fri, Nov 12, 2010 at 5:49 AM, Christian Schneider
<cschneid@cschneid.com>wrote:
> > It should be a important consideration that numeric string parsing isn't
> affected by this patch, and things will be fine.
>
> If neither '0b1' == 1 nor is_numeric('0b1') is true after this patch then I
> see no problem.
>
This is correct--both evaluate to false. String parsing support for binary
literals was not added.
> Sorry for not trying the patch first and assuming that it would be similar
> to the other formats.
>
No worries.
--
Jonah H. Harris
Blog: http://www.oracle-internals.com/