Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21576 invoked from network); 17 May 2011 06:19:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2011 06:19:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=christian.kaps@mohiva.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christian.kaps@mohiva.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mohiva.com from 178.63.228.54 cause and error) X-PHP-List-Original-Sender: christian.kaps@mohiva.com X-Host-Fingerprint: 178.63.228.54 elvis.mohiva.com Linux 2.6 Received: from [178.63.228.54] ([178.63.228.54:44860] helo=elvis.mohiva.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/61-05118-C5312DD4 for ; Tue, 17 May 2011 02:19:09 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by elvis.mohiva.com (Postfix) with ESMTP id 8B2661DBE0A9; Tue, 17 May 2011 08:19:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mohiva.com Received: from elvis.mohiva.com ([127.0.0.1]) by localhost (elvis.mohiva.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14FsQgq9MmEl; Tue, 17 May 2011 08:19:03 +0200 (CEST) Received: from [10.205.112.163] (tmo-110-163.customers.d1-online.com [80.187.110.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: christian.kaps@mohiva.com) by elvis.mohiva.com (Postfix) with ESMTPSA id DC3BA1DBE08D; Tue, 17 May 2011 08:19:02 +0200 (CEST) References: <1305570720.1344.535.camel@guybrush> <4DD17ECD.4070505@sugarcrm.com> <20110516212511.GA13139@crousti> <7FCA24D2-64A9-4E8C-8AE9-8934A5B074E6@gmail.com> In-Reply-To: <7FCA24D2-64A9-4E8C-8AE9-8934A5B074E6@gmail.com> Mime-Version: 1.0 (iPhone Mail 8C148a) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-ID: <1C1A809F-FB02-4B67-B2EC-7FED5C427FC5@mohiva.com> Cc: Etienne Kneuss , "internals@lists.php.net" X-Mailer: iPhone Mail (8C148a) Date: Tue, 17 May 2011 08:19:27 +0200 To: Benjamin Dubois Subject: Re: [PHP-DEV] Inconsistencies with constructors in SPL From: christian.kaps@mohiva.com (Christian Kaps) Am 17.05.2011 um 02:22 schrieb Benjamin Dubois : > Hi, >=20 > Why not make all objects (maybe implicitly) extend a single root object, c= ontaining just skeleton ctor/dtor and implemented in the engine ? >=20 > I don't know if it is actually possible in PHP, but that works for severa= l other languages (java, objC - in that case, the root object is explicit-, C= # AFAR) >=20 > This would also bypass the error-level debate (no error would be thrown) >=20 +1 >=20 >>=20 >>>=20 >>>=20 >>>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20