Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68647 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23590 invoked from network); 28 Aug 2013 20:12:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Aug 2013 20:12:39 -0000 Authentication-Results: pb1.pair.com header.from=php@marc-bennewitz.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@marc-bennewitz.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain marc-bennewitz.de from 80.237.132.171 cause and error) X-PHP-List-Original-Sender: php@marc-bennewitz.de X-Host-Fingerprint: 80.237.132.171 wp164.webpack.hosteurope.de Received: from [80.237.132.171] ([80.237.132.171:46791] helo=wp164.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/E4-33204-6B95E125 for ; Wed, 28 Aug 2013 16:12:38 -0400 Received: from dslb-088-072-006-167.pools.arcor-ip.net ([88.72.6.167] helo=[192.168.178.27]); authenticated by wp164.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1VEm6U-0007pq-Ms; Wed, 28 Aug 2013 22:12:34 +0200 Message-ID: <521E59B1.8060300@marc-bennewitz.de> Date: Wed, 28 Aug 2013 22:12:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;php@marc-bennewitz.de;1377720758;139288e6; Subject: Re: [PHP-DEV] [RFC] Syntax for variadic functions From: php@marc-bennewitz.de (Marc Bennewitz) Am 28.08.2013 21:27, schrieb Matthew Leverton: > On Wed, Aug 28, 2013 at 10:47 AM, Nikita Popov wrote: >> > > Would any functions get deprecated as a result of this? e.g., func_get_args() > > > It's not a good idea to deprecate the function func_get_args/func_num_args() because it is used in user land code to detect if a function was called with a specific argument like the following: function (&$argByRef = null) { if (func_num_args() > 1) { // do expensive stuff to set $argByRef $argByRef = true; } return false; }