Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28896 invoked from network); 29 Aug 2013 15:57:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2013 15:57:15 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.43 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.43 mail-oa0-f43.google.com Received: from [209.85.219.43] ([209.85.219.43:47955] helo=mail-oa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/23-10946-B5F6F125 for ; Thu, 29 Aug 2013 11:57:15 -0400 Received: by mail-oa0-f43.google.com with SMTP id i10so817908oag.2 for ; Thu, 29 Aug 2013 08:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oqTBei7s8RxmTpznDkolseA0mLw9MViAhAPkgDXAfdw=; b=RFEAKgq1xZuOAYI1Y3ue/wzZEigaGaG5puBGAwXCcgXwBmS1gejANx29b9AY/B6Upl SEvvL1ERvRmPEeWvp4eESY6xcaVZXzPHn8gxzzm0rcjCERlCEer6c41VDvQCPxX/mJIm Zq6SwFGtcgOiUPyxdsrZAB0Nl9SLC7at3HqYsrweqX8UvnF7YrRvYLgwZkc64fR2TO26 I6MmbVIifvxrGMgYCN+441EM4A5Ip1aOrI41O6MEFTR+avPJAZLOvBeb/mBcl9QrXNu6 VLMHKR+4H+CEqwjZnzbATQujkovGcdjGF55aACJWikC57s2nPEYMEDJY7wRS73EYSyjD 7Qpg== MIME-Version: 1.0 X-Received: by 10.182.199.38 with SMTP id jh6mr3094625obc.33.1377791832615; Thu, 29 Aug 2013 08:57:12 -0700 (PDT) Received: by 10.76.122.200 with HTTP; Thu, 29 Aug 2013 08:57:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Aug 2013 09:57:12 -0600 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary=e89a8ff1bf9ec1f65804e5182811 Subject: Re: [PHP-DEV] Re: Signature compatibility: Number of arguments From: morrison.levi@gmail.com (Levi Morrison) --e89a8ff1bf9ec1f65804e5182811 Content-Type: text/plain; charset=ISO-8859-1 I think of the following definition: function foo($bar = NULL) To really be two definitions with method overloading: > function foo() function foo($bar) Allowing an inheritor/implementor to choose to not implement the second signature does not seem logical at all when you think of them this way. I'm against this this proposal. --e89a8ff1bf9ec1f65804e5182811--