Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68841 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44995 invoked from network); 2 Sep 2013 10:39:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2013 10:39:32 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.204 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.204 mail4.serversure.net Linux 2.6 Received: from [217.147.176.204] ([217.147.176.204:59772] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/13-29856-3EA64225 for ; Mon, 02 Sep 2013 06:39:32 -0400 Received: (qmail 26256 invoked by uid 89); 2 Sep 2013 10:39:28 -0000 Received: from unknown (HELO linux-dev4.lsces.org.uk) (lester@rainbowdigitalmedia.org.uk@109.152.18.233) by mail4.serversure.net with ESMTPA; 2 Sep 2013 10:39:28 -0000 Message-ID: <52246BB4.5090903@lsces.co.uk> Date: Mon, 02 Sep 2013 11:43:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 MIME-Version: 1.0 To: PHP internals References: <52243BA6.5040905@sugarcrm.com> <52244119.4040807@sugarcrm.com> <5224543C.7030702@lsces.co.uk> <5224674B.40008@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: lester@lsces.co.uk (Lester Caine) Ferenc Kovacs wrote: > > you write your code where you copypaste the default value > some time passes > somebody changes the default value in the called function definition > your code now calls the function with a non-default value. Actually THAT is a problem I've hit in reverse! Some bugger changing the default in a library without understanding the consequences! In which case the fix was to put in the 'default' I wanted ... this works either way, but I could at least see in the IDE that the default had been changed so tracing it did not take as long as it could have. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk