Supporting Binary Notation for Integers
| From: | Jonah H. Harris | Date: | Wed, 10 Nov 2010 21:31:19 +0000 |
| Subject: | Supporting Binary Notation for Integers | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-50133@lists.php.net to get a copy of this message | ||
Hey all,
I was recently working on some code which made use of bit arrays and I came
across feature request 50648: Format for binary numbers. While it's just
more syntactic sugar (0b11111011010 vs 2010/0x7da/03732), it doesn't seem
like too bad of an idea and it is also supported by a few other languages.
If there's any interest, I'll clean up the patch and resubmit.
Thoughts?
--
Jonah H. Harris
Blog: http://www.oracle-internals.com/