Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86521 invoked from network); 18 Nov 2014 14:54:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2014 14:54:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=lisachenko.it@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lisachenko.it@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.48 as permitted sender) X-PHP-List-Original-Sender: lisachenko.it@gmail.com X-Host-Fingerprint: 74.125.82.48 mail-wg0-f48.google.com Received: from [74.125.82.48] ([74.125.82.48:44159] helo=mail-wg0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/F2-63415-89D5B645 for ; Tue, 18 Nov 2014 09:54:17 -0500 Received: by mail-wg0-f48.google.com with SMTP id y19so5690360wgg.35 for ; Tue, 18 Nov 2014 06:54:14 -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=zVTpo5QBi/tKejDYKlPOEsZ24faD4SpGshTqQbgB9mw=; b=yQR1fhpKieG9nvQFcVPEamLu+2LfmPzrxTvnMaFqZ48+7AHCjh3hGc1VE5WaYiD0Hy avtM332MszSfnNjWYfsnbITAcpwH5BVKeEWUqjGBFarB9sPrO5qOtj3wD0DvG8/+rTnC q44p1b4XAZtx173LdGx4f4+l9dIOH7IKPCEiiuyABQJog8I0gBsk9P9PW59p1WceaDrV bM5qIENJCcm1dAZP5RL1SW3XrUB1tM9tRh1+XJFPM8jwhN3FWStGvnF7hmYSkGX1Tk0u WACO5zcBfAj2+D7d1MDhDtu8eLYxO5ddggSk3bUH4dZp/qIUJof/d/ZNBok1wHY8oIld 1vcA== MIME-Version: 1.0 X-Received: by 10.180.39.65 with SMTP id n1mr4551159wik.13.1416322453791; Tue, 18 Nov 2014 06:54:13 -0800 (PST) Received: by 10.194.42.137 with HTTP; Tue, 18 Nov 2014 06:54:13 -0800 (PST) In-Reply-To: <546B0F62.1090705@gmail.com> References: <546B0F62.1090705@gmail.com> Date: Tue, 18 Nov 2014 17:54:13 +0300 Message-ID: To: Stanislav Malyshev Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11360196beeb5d0508234464 Subject: Re: [PHP-DEV] [RFC] Default constructors From: lisachenko.it@gmail.com (Alexander Lisachenko) --001a11360196beeb5d0508234464 Content-Type: text/plain; charset=UTF-8 Hi! 2014-11-18 12:20 GMT+03:00 Stanislav Malyshev : > > 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: +1 for defining base class for all classes and addition of default constructor implementation in it. One more example with inconsistent ctors handling via Reflection: http://3v4l.org/Tjn82 --001a11360196beeb5d0508234464--