Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
On Wed, Nov 10, 2010 at 10:19 PM, Jonah H. Harris wrote: > Cool. I'll put together an updated patch. > Source and documentation patches have been attached to the ticket. -- Jonah H. Harris Blog: http://www.oracle-internals.com/

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
On Wed, Nov 10, 2010 at 9:29 PM, Larry Garfield wrote: > On Wednesday, November 10, 2010 5:46:50 pm Matthew Fonda wrote: > > On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes > wrote: > > Especially given how common it is to use hex constants as bit flags, being > able to define them in binary to be

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Larry Garfield
On Wednesday, November 10, 2010 5:46:50 pm Matthew Fonda wrote: > On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes wrote: > > On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris > > > > > > wrote: > >> Hey all, > >> > >> I was recently working on some code which made use of bit arrays and I > >>

[PHP-DEV] Option to enable echo tags when short tags are turned off

2010-11-10 Thread Galen Wright-Watson
At the beginning of the year, someone put in a request for an option to enable echo tags when short tags are disabled (http://bugs.php.net/bug.php?id=50662). I've written a patch and two tests for the feature, and am looking for feedback and a developer to incorporate it into PHP 5.3 and 6. What do

[PHP-DEV] [FPM] when to call extensions MINIT and MSHUTDOWN

2010-11-10 Thread Jérôme Loyet
Hi guys, I'm sure when FPM should call extensions MINIT and MSHUTDOWN functions. MINIT is called once by the master process after it forks any children. It's done by calling php_module_startup() in cgi_sapi_module.startup(). MSHUTDOWN is also called by the master process before exiting and after

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Matthew Fonda
On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes wrote: > On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris > wrote: > >> 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 >> m

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Gustavo Lopes
On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris wrote: 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 (0b1011010 vs 2010/0x7da/03732), it doesn't

[PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
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 (0b1011010 vs 2010/0x7da/03732), it doesn't seem like too bad of an idea and it is also supported by a few other l