Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66169 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60309 invoked from network); 23 Feb 2013 09:03:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Feb 2013 09:03:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=ml@anderiasch.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ml@anderiasch.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain anderiasch.de from 81.169.138.148 cause and error) X-PHP-List-Original-Sender: ml@anderiasch.de X-Host-Fingerprint: 81.169.138.148 ares.art-core.org Linux 2.5 (sometimes 2.4) (4) Received: from [81.169.138.148] ([81.169.138.148:42575] helo=mail.anderiasch.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/10-57889-EE588215 for ; Sat, 23 Feb 2013 04:03:42 -0500 Message-ID: <512885E9.3040508@anderiasch.de> Date: Sat, 23 Feb 2013 10:03:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Sebastian Krebs CC: Rasmus Schultz , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] rfc:trailing-comma-function-args From: ml@anderiasch.de (Florian Anderiasch) On 22.02.2013 22:46, Sebastian Krebs wrote: > /sign > Especially about the "implies, that another optional argument may exist": > One does not simply add arbitrary arguments to a function call. Except when > the function signature changes, but in this case (to repeat myself) the > additional diff-line is negligible. I've thought about this, and the only function I'm using often enough to have this change be needed/nice/finally there is sprintf - it's the only function with variable number of arguments that's bitten me with the trailing comma at least once a month - but not a single other function I can think ok. (Maybe I should use more var_dump though...) Greetings, Florian