Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20022 invoked from network); 26 Jun 2008 05:45:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2008 05:45:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.232 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.232 rv-out-0506.google.com Received: from [209.85.198.232] ([209.85.198.232:56228] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/D0-13482-FFC23684 for ; Thu, 26 Jun 2008 01:45:36 -0400 Received: by rv-out-0506.google.com with SMTP id g37so9346148rvb.23 for ; Wed, 25 Jun 2008 22:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Y31P1ngW5t2iGq1sKZLs0L3mGNqSKqOKQhpTkxbxgyU=; b=nvzYJYWOPSnSMlo6aZaCPyxh7jpYv6KllSI+SyQ6864XEkfLepTIW9KFCcwX1J7USa q9wFtfi9KP6B99QfnMXp8YWVVezRid+wr9VNJ7tZe9byVAozu/f2anOHYhinH5oRK5xK A2cmRmujHprkfjx1u1BKRsR/wJLHIUfbNMScU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UHNuhLFar8Clji3zpXeMm6VLr/fOW3kevd96O3prSulX+qssPYvjr8cl4VhcP7uuJX OKtMPPCPPDV3P9wG2ddw4DIUgTQikG2uzyrp8zNsuDTa8suOcl9hIAlAaeiCn4cwOBz5 K4XRwoCVdAfiOyox4R1tWrikqxuZjF9C6imk0= Received: by 10.140.132.8 with SMTP id f8mr17036719rvd.206.1214459133014; Wed, 25 Jun 2008 22:45:33 -0700 (PDT) Received: by 10.141.185.2 with HTTP; Wed, 25 Jun 2008 22:45:32 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 07:45:32 +0200 To: "=?ISO-8859-1?Q?Cristian_Rodr=EDguez?=" Cc: "Stanislav Malyshev" , "PHP Internals" In-Reply-To: <4862DEEC.4080906@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <485AE658.3050204@zend.com> <4862DEEC.4080906@suse.de> Subject: Re: [PHP-DEV] cleaning up the functions - any volunteers? From: pierre.php@gmail.com ("Pierre Joye") Hi Christian, On Thu, Jun 26, 2008 at 2:12 AM, Cristian Rodr=EDguez = wrote: > Stanislav Malyshev escribi=F3: >> >> Hi! >> >> While we nearing the release of 5.3 (hopefully?), there are many functio= ns >> in the PHP code which still use old parameter parsing API >> (zend_get_parameters_ex) instead of the new one (zend_parse_parameters). >> >> P.S. if some genius would invent a script to automate that - it'd be >> awesome, but I don't have very high hopes on that. :) > > The attached patch may also help both core and PECL extensions, emiting a > deprecation compile warning when those functions are used. That's a very good idea. > ps: you have to add the attribute to all deprecated functions ;-) even better, a review while being at it cannot hurt :-) Thanks for your patch! --=20 Pierre http://blog.thepimp.net | http://www.libgd.org