Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37933 invoked from network); 24 May 2013 15:22:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2013 15:22:17 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:43418] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/99-20943-8A58F915 for ; Fri, 24 May 2013 11:22:16 -0400 Received: by mail-ie0-f170.google.com with SMTP id aq17so12876806iec.29 for ; Fri, 24 May 2013 08:22:13 -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=MtRaBFd8qAAkas8dGZgW1e6tOfegwPBJ/rsM1EIqyxA=; b=yQ/CU/cq4yr9IQk9K023OpVTIOurLK1vtNyhdlCE6RqTk97BEQgnf0PXXbhqBb1FjJ z+TOE06+QQi+sTm1nc4m1FWBSein7FSR2N+BG2MLljDfmZkQGc0yyldyjHKttyjHxpBU +vRiG65mG2iMpAS0H6aLHHGvwZEEPPJO5jLet3y26En6p7Lmgx9T4GIgqU2oo4IB23Q+ qORmKBGuygROtvCpDA4k6PlOPm9LUiiyKnOvDSYQW0ZvyZNoLJJID0lP/WJCbCK/O571 g37QtFgcSPNm8+eFlMmL1BJLsUBFuE0Jw8aa1DlI+pBlEs/BoPQiojqT6lFQVCcv2ZSR B+mA== MIME-Version: 1.0 X-Received: by 10.42.190.74 with SMTP id dh10mr13210715icb.35.1369408933110; Fri, 24 May 2013 08:22:13 -0700 (PDT) Received: by 10.50.209.3 with HTTP; Fri, 24 May 2013 08:22:12 -0700 (PDT) In-Reply-To: References: <6b642a96e673c29dbaf2f239be15f7f6.squirrel@www.l-i-e.com> <519E8ADB.90202@sugarcrm.com> Date: Fri, 24 May 2013 17:22:12 +0200 Message-ID: To: Richard Quadling Cc: Stas Malyshev , Etienne Kneuss , Anthony Ferrara , Richard Lynch , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=20cf303dda6202a89604dd785d33 Subject: Re: [PHP-DEV] Cannot call constructor From: tyra3l@gmail.com (Ferenc Kovacs) --20cf303dda6202a89604dd785d33 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Hi. > > I'm not an expert here, so just thinking out loud ... > > If a theoretical \PHP\baseclass can have empty __construct()/__destruct()= , > what about the other magic methods? > > OK, I suppose cascading some of the magic methods to a parent and having = a > null parent at the very very bottom of the heap sounds useful. But I'm no= t > totally sure. > > Is there much/any need for a true base class that ALL classes will extend > from, including those in extensions. > it was discussed in the linked thread, personally I agree that those are different both in intention and implementation, so shouldn't affected by this change. ps: for example having an empty __sleep() or __wakeup implementation would be entirely differrent that one would expect. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --20cf303dda6202a89604dd785d33--