Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41697 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 105 invoked from network); 5 Nov 2008 21:41:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2008 21:41:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.157 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 72.14.220.157 fg-out-1718.google.com Received: from [72.14.220.157] ([72.14.220.157:13596] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/B6-22938-C0312194 for ; Wed, 05 Nov 2008 16:41:32 -0500 Received: by fg-out-1718.google.com with SMTP id 16so143728fgg.23 for ; Wed, 05 Nov 2008 13:41:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=f5rrXZJYrwnlq4al/r0dzjqHZzVGk0pP7iBBGEg6FKE=; b=i+mwzRRfBVkHntOP4Y3Kwuv+GuRAwy2LdlNXNa5v89BCN7Gg3UYPFllYEJIXuj4c9x X3fLAwsTUP/6iyLqLJXdGF7Hj7fW90QJJogbKSDF/tYG9ChM/GF6ZUnXgiIl8kCcuhOk etVNORmIJw7n32FcZ9f+COtSsYoLOaYoEnIBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=empGo8hk7Iqtl5lXrFKWRE8l4+cuZgWZ97LO4N4dCr8u+X8Cgnh1+cUK6SOsAG+Izm 6qGW/xro6rm1AEKqk4CZdtXa2+LxAKV5jV06dBN2vyQnhIjpW/m6536YGE1iuUczSaIg Ng4L9l0UX9SZX4oaIvJ3LhUR1JzyPVnl/Xn30= Received: by 10.181.240.10 with SMTP id s10mr424817bkr.108.1225921289479; Wed, 05 Nov 2008 13:41:29 -0800 (PST) Received: from 207-177-41-213.getmyip.com (207-177-41-213.getmyip.com [213.41.177.207]) by mx.google.com with ESMTPS id c28sm671910fka.18.2008.11.05.13.41.28 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Nov 2008 13:41:29 -0800 (PST) To: internals@lists.php.net Date: Wed, 5 Nov 2008 22:41:13 +0100 User-Agent: KMail/1.10.1 (Linux/2.6.26-1-amd64; KDE/4.1.2; x86_64; ; ) Cc: Johannes =?iso-8859-15?q?Schl=FCter?= , "Olivier Grange-Labat" References: <4911CA1D.7030008@lemonde.fr> <1225908726.4251.23.camel@goldfinger.johannes.nop> In-Reply-To: <1225908726.4251.23.camel@goldfinger.johannes.nop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200811052241.14034.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] [PATCH] parse_ini_string() From: arnaud.lb@gmail.com (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 to do that, and while > I had to modify it to accept constants (as parse_ini_file() does), I > thought it was time to use the core parsers instead of reinventing the > wheel. > > I have the same patch available for 5.2, if anyone is interested. > > Thank you for all the time and effort you put into PHP ! > > Olivier > Hi, Thanks, committed to 5.3 and HEAD :) Regards, Arnaud