Re: Inconsistencies with constructors in SPL

From: Date: Tue, 17 May 2011 06:19:27 +0000
Subject: Re: Inconsistencies with constructors in SPL
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-52418@lists.php.net to get a copy of this message
Am 17.05.2011 um 02:22 schrieb Benjamin Dubois <benjamin.dubois@gmail.com>: > Hi, > > Why not make all objects (maybe implicitly) extend a single root object, containing just > skeleton ctor/dtor and implemented in the engine ? > > I don't know if it is actually possible in PHP, but that works for several other > languages (java, objC - in that case, the root object is explicit-, C# AFAR) > > This would also bypass the error-level debate (no error would be thrown) > +1 > >> >>> >>> >>> >> >> >> >> >> >>

« previous php.internals (#52418) next »