[PHP-DEV] [PATCH] parse_ini_string()

2008-11-05 Thread Olivier Grange-Labat
Hello, Here's a patch again PHP_5_3 to add a parse_ini_string() function. It just works as parse_ini_file(), except it accepts a string instead of a filename, obviously. We've been using for months a simple PHP function to do that, and while I had to modify it to accept constants (as

Re: [PHP-DEV] [PATCH] parse_ini_string()

2008-11-05 Thread Johannes Schlüter
Hi, On Wed, 2008-11-05 at 17:30 +0100, Olivier Grange-Labat wrote: Hello, Here's a patch again PHP_5_3 to add a parse_ini_string() function. In general I think it's good to add that function, a few comments below. +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_ini_string, 0, 0, 1) +

Re: [PHP-DEV] [PATCH] parse_ini_string()

2008-11-05 Thread Arnaud Le Blanc
On Wednesday 05 November 2008 17:30:21 Olivier Grange-Labat wrote: Hello, Here's a patch again PHP_5_3 to add a parse_ini_string() function. It just works as parse_ini_file(), except it accepts a string instead of a filename, obviously. We've been using for months a simple PHP function

Re: [PHP-DEV] [PATCH] parse_ini_string()

2008-11-05 Thread Olivier Grange-Labat
Hello, Arnaud Le Blanc a écrit : ... Thanks, committed to 5.3 and HEAD :) Wow. Thank you both for your comments, corrections and commit! Olivier -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php