Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60181 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46666 invoked from network); 18 Apr 2012 10:51:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2012 10:51:45 -0000 Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:55987] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/38-03614-0CC9E8F4 for ; Wed, 18 Apr 2012 06:51:45 -0400 Received: by obbup16 with SMTP id up16so3032841obb.29 for ; Wed, 18 Apr 2012 03:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NjElwvDF0EIoyT/kGjLQwz1dsmGr94ySeaKF1ahlv/0=; b=rBIwfn1ZfD5Q+CFyANevm6X8PTyI7wd/uPSi9OeTxFF0OGcmVP17RmKM3R49EVstvm /SJQwPm0D2E6JeRFIDZVnnqnDTmp+//wbR3q8pQs0KKprv7IOK6HXthJltzwZXFxCm4H Fm3+hnwT2AvxDmNlVatw3GpvdVlXzqRF2yPh5X/g5DFHRsrtARL1MG0dquuZ+iYXcH50 /xglRcQZpnh6hqxuEdbzFT0BVXHoIgiHL5oxu/DOqbsx3DbZQIEXWHEBPzBKGnyqt6B/ VUC0n/VJBWIn/1vo57oMfOHonyMgrnvbw8LQzK8Mp/gLR4+lUwc6pa1lrljM85J8osPI z20g== Received: by 10.60.170.145 with SMTP id am17mr2270731oec.73.1334746302592; Wed, 18 Apr 2012 03:51:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.97.103 with HTTP; Wed, 18 Apr 2012 03:51:02 -0700 (PDT) In-Reply-To: References: <4F8DF4B1.2040307@sugarcrm.com> Date: Wed, 18 Apr 2012 11:51:02 +0100 Message-ID: To: Daniel Macedo Cc: Adam Jon Richardson , internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec54c4fae3b37ba04bdf1d756 Subject: Re: [PHP-DEV] [RFC] skipping optional parameters From: petercowburn@gmail.com (Peter Cowburn) --bcaec54c4fae3b37ba04bdf1d756 Content-Type: text/plain; charset=ISO-8859-1 On 18 April 2012 11:38, Daniel Macedo wrote: > You can't do that, NULL is a perfectly acceptable value to pass into a > function, you wouldn't be able to know when you wanted to pass NULL or > use the default value, e.g.: > > You totally missed the point: hinting, not-so-subtly, at the long-established convention to use null as the default value. I guess my humour doesn't come across so well on the list. Lets get back to discussing ",,," parameters. --bcaec54c4fae3b37ba04bdf1d756--