Re: [PHP-DEV] 5.3 todos

2009-02-13 Thread Matt Wilmas
Hi Lukas! Just wanted to send a quick message about some things I'll try to do. :-) Guess I'm a little late to "return," heh -- and I'm finishing a new system build now and have to migrate stuff over :-/, but I'll get to these PHP things soon as I can, on whatever system... - Original Messag

Re: [PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file.

2009-02-13 Thread Pierre Joye
hi, On Fri, Feb 13, 2009 at 11:01 PM, David M. Patterson wrote: > > On Fri, Feb 13, 2009 at 7:31 PM, David M. Patterson < > Unfortunately, standard php.ini entries won't suffice in this case. > The extension's config file will contain indeterminate keys and the normal > php.ini processing require

RE: [PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file.

2009-02-13 Thread David M. Patterson
On Fri, Feb 13, 2009 at 7:31 PM, David M. Patterson < dpatter...@dplhenterprises.com> wrote: > The normal way is to use PHP ini-entries. You can find examples in just > about every extension out there. Are you sure you need a separate > configuration file for your extension? Unfortunately, stan

Re: [PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file.

2009-02-13 Thread Mikko Koppanen
On Fri, Feb 13, 2009 at 7:31 PM, David M. Patterson < dpatter...@dplhenterprises.com> wrote: > I am writing an extension that requires its own configuration file. > > I would prefer to not re-invent the parse a config file wheel and so, have > been trying to use zend_parse_ini_file() function. Unf

[PHP-DEV] Extension dependency problems

2009-02-13 Thread Andrei Zmievski
It seems that our PHP_ADD_EXTENSION_DEP() macro from acinclude.m4 does not actually do any linking against the dependent extension despite the comment in it: dnl Some systems require that we link $2 to $1 when building The consequence of this is that if the dependent extension (like igbinary.

[PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file.

2009-02-13 Thread David M. Patterson
I am writing an extension that requires its own configuration file. I would prefer to not re-invent the parse a config file wheel and so, have been trying to use zend_parse_ini_file() function. Unfortunately, I have been unable to make this work, so far. If someone would either provide a code sni

Re: [PHP-DEV] Re: Bug #46701

2009-02-13 Thread Ilia Alshanetsky
Dmitry, Does it make sense to backport 42868 fix to address this issue? On 12-Feb-09, at 3:56 PM, Moriyoshi Koizumi wrote: See the results of the following on 5.2.6, 5.2.9rc2 and 5.3: php -r '$a[1e100] = 1; var_dump($a);' 5.2.6: array(1) { [-2147483648]=> int(1) } 5.2.9rc2: array(1) {