Re: [PHP-DEV] Support for writing php extensions

2013-02-02 Thread Ferenc Kovacs
On Sat, Feb 2, 2013 at 3:32 PM, Gabriel Wu wrote: > Dear all, > > I am looking for the place to get support for writing a php extension. > Just wondering if this is the right place. > > I am looking to create a custom class where I can overload the > operators of the class. I have found an old ex

[PHP-DEV] Re: APC + Phar Performance (x-post from pecl.dev)

2013-02-02 Thread Ralph Schindler
Hi all, After re-testing this scenario against Zend Optimizer+ on OS.X in 5.4 yesterday ... it's worth noting that Zend Optimizer+ *does not* suffer from the same file stat/include_path problems that APC does when dealing with phars. An unpacked phar to filesystem (with autoloader, using ab

Re: [PHP-DEV] Re: Non-pointer params, zend_parse_parameters, and the "!" modifier

2013-02-02 Thread Felipe Pena
2013/2/2 Gustavo Lopes : > On Sat, 02 Feb 2013 14:36:00 +0100, Sara Golemon wrote: > >> Gustavo's diff for scalars adds '!' support (this was ignored >> previously) by letting the NULL get cast to the type (e.g. >> false/0/0.0) and using a second zend_bool parameter to indicate if >> NULL was pass

[PHP-DEV] Re: Non-pointer params, zend_parse_parameters, and the "!" modifier

2013-02-02 Thread Gustavo Lopes
On Sat, 02 Feb 2013 14:36:00 +0100, Sara Golemon wrote: Gustavo's diff for scalars adds '!' support (this was ignored previously) by letting the NULL get cast to the type (e.g. false/0/0.0) and using a second zend_bool parameter to indicate if NULL was passed or not: long num = 42; zend_bo

[PHP-DEV] Non-pointer params, zend_parse_parameters, and the "!" modifier

2013-02-02 Thread Sara Golemon
Last july Gustavo (cataphract@) committed 980dc7111bc1d1e759c5b6044f6e7d203915d81f "zend_parse_parameters: allow ! for non pointers" which is awesome, but it creates a difference in behavior between pointer and non-pointer types when used with the '!' modifier. So before 5.5 hits freeze, I'd like