Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78942 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78443 invoked from network); 18 Nov 2014 13:11:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2014 13:11:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:56003] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/C1-63415-E754B645 for ; Tue, 18 Nov 2014 08:11:26 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 906CB2400E6; Tue, 18 Nov 2014 08:11:23 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NyGTfc1y_nVs; Tue, 18 Nov 2014 08:11:23 -0500 (EST) Received: from [10.129.247.10] (dab-ell1-h-38-7.dab.02.net [82.132.238.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id BDDCA2400C2; Tue, 18 Nov 2014 08:11:21 -0500 (EST) References: <546B0F62.1090705@gmail.com> <546B3D07.2090203@hoa-project.net> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <7B7BA983-3A5B-4FB1-8C02-0B88C81407C2@ajf.me> Cc: Ivan Enderlin , PHP Internals X-Mailer: iPhone Mail (12B435) Date: Tue, 18 Nov 2014 13:11:17 +0000 To: Ferenc Kovacs Subject: Re: [PHP-DEV] [RFC] Default constructors From: ajf@ajf.me (Andrea Faulds) > On 18 Nov 2014, at 12:47, Ferenc Kovacs wrote: >=20 > On Tue, Nov 18, 2014 at 1:35 PM, Ivan Enderlin @ Hoa < > ivan.enderlin@hoa-project.net> wrote: >=20 >> Hello :-), >>=20 >> Is it not simpler to create a super-object whom all objects are children >> of? Something similar to the Java `Object`? > yeah, this was also a suggested alternative when discussing this problem > previously(see the link in my previous mail). I'd certainly like it if everything descended from some class (Object? StdCl= ass?), but I don't like the idea of an empty construct. As Anthony pointed o= ut last time, you can't do inheritance and simultaneously treat the parent c= lass as a black box. -- Andrea Faulds http://ajf.me/=