Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74210 invoked from network); 24 Nov 2014 16:48:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2014 16:48:53 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.50 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.50 mail-pa0-f50.google.com Received: from [209.85.220.50] ([209.85.220.50:52016] helo=mail-pa0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/96-33396-57163745 for ; Mon, 24 Nov 2014 11:48:53 -0500 Received: by mail-pa0-f50.google.com with SMTP id bj1so9836092pad.37 for ; Mon, 24 Nov 2014 08:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+P+reXPQziThryhLC+HKqSPnc9IRhDIyWd9KxlF+AW0=; b=VUPDUIjSdUrVBMYjzotRlOMj2P3oydkcgQqyhJI/FxpxdzlBG2+sigm1V6/mNmdhIW JVZ4Mp9TSLnKKWtIS/pIWG98A41XQzhBtJQOOm8Z96BbKovZXTJ2Q2cgIvpiqonvyLHO 4tM5e0V+MlS9nWuERpfRjLSYE2XJPPQYBgofZ82s3angfZfYyKSruRxwXBlBKKzCJXUq KxmwWDIu+4fkMLdypo5QV4a59v+X9Le0TkFV1Ou/UbI5GW+XNNeHnCg95nnlTHRhNSg5 07VbPybnU82vnvWjI+6bS+mTAfJ2EBHeCm5qGzKHb0tZMWyG6woHyVDPbcCnzhsFjc4t vglQ== X-Received: by 10.66.165.70 with SMTP id yw6mr34052626pab.97.1416847730719; Mon, 24 Nov 2014 08:48:50 -0800 (PST) Received: from stas-air.corp.wikimedia.org (tan4.corp.wikimedia.org. [198.73.209.4]) by mx.google.com with ESMTPSA id vz8sm12999216pac.1.2014.11.24.08.48.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 08:48:49 -0800 (PST) Message-ID: <54735396.5040902@gmail.com> Date: Mon, 24 Nov 2014 07:49:42 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Dmitry Stogov CC: PHP Internals References: <546B0F62.1090705@gmail.com> <546E3656.2010608@gmail.com> <546EB8B3.3020807@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Default constructors From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > However, I thought about one more inconsistent. Your patch works fine > for "parent::" methods but not for "grandparents::" > In the following code "default constructor" won't work. Yes, this is OK - the support is only for one pattern, calling the parent, because it's what you're supposed to do. If you do anything else, it would work (or not work) as before since it's not the best practice so you're on your own. > It's not a big problem to fix implementation to support it, or may be > support for "parent::" is enough. > Anyway, it should be reflected in RFC (if this code should work or > should not). Sure, I'll add a note on RFC about it. -- Stas Malyshev smalyshev@gmail.com