Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78938 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69021 invoked from network); 18 Nov 2014 12:12:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2014 12:12:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:40024] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/40-63415-9B73B645 for ; Tue, 18 Nov 2014 07:12:41 -0500 Received: by mail-ob0-f169.google.com with SMTP id vb8so3030511obc.28 for ; Tue, 18 Nov 2014 04:12:38 -0800 (PST) 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=+StX3BrVEcAir2AA3q1YPEUNf61BXMLeJaQ8Inl/iwE=; b=yUTngaraUqtaEQY9/QpVgHmWxcs2yEchqP/4AkIGEyxb3QKuGINlyaGj/zaG0d2Ktu LSTIAbaUE740VCiM6F6E02VXsN7GuLYxhdtFBUhf8HV9Af3z3h7IE1ODK82l4z4OcRq/ vswoUxsa3eMfRg2NfxCnmPQIcoInC12mob27GTu132Pb0OH1t9K/eiMlk3bNlZANnqNM tjZ8Rx8jEZeDe6LN6IeCt9ALICHkq8Ov5kxnQdIJa5RoS4wmfFnY8W2DB/CYYj6pR367 NXRhztEIhA/8tO9irFVHNsNYIG/ccAOIioHFDEIqM+D8KZkvFQCgeMggdWDyQyWNIcN7 41gw== MIME-Version: 1.0 X-Received: by 10.60.174.16 with SMTP id bo16mr1498201oec.55.1416312758518; Tue, 18 Nov 2014 04:12:38 -0800 (PST) Received: by 10.60.79.131 with HTTP; Tue, 18 Nov 2014 04:12:38 -0800 (PST) In-Reply-To: <546B0F62.1090705@gmail.com> References: <546B0F62.1090705@gmail.com> Date: Tue, 18 Nov 2014 13:12:38 +0100 Message-ID: To: Stanislav Malyshev , Anthony Ferrara , Sanford Whiteman Cc: PHP Internals Content-Type: multipart/alternative; boundary=089e011838ecdccd08050821026e Subject: Re: [PHP-DEV] [RFC] Default constructors From: tyra3l@gmail.com (Ferenc Kovacs) --089e011838ecdccd08050821026e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Nov 18, 2014 at 10:20 AM, Stanislav Malyshev wrote: > Hi! > > I'd like to propose the following RFC, which in short would allow any > method to call parent ctor (and some other methods) even if such is not > explicitly defined: > > https://wiki.php.net/rfc/default_ctor > > The reasons are outlined in detail in the RFC and here: > http://php100.wordpress.com/2014/11/04/default-constructors/ > > The patch is not finished yet but seems to be working fine, I'll add it > to the RFC this week as soon as I finish it. I'd like to put idea out > there in the meantime and hear what everybody thinks about it. > > Thanks, > Stas > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi Stas, Thanks for bringing this up and working on the patch. Last time we discussed this( http://www.serverphorums.com/read.php?7,712222,712635), there were a couple of people including Anthony and Sanford who were agains this feature arguing that it would encourage bad practices so I think it would be useful to look at those concerns if they (still) have merit. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e011838ecdccd08050821026e--