Re: Inconsistencies with constructors in SPL

From: Date: Tue, 17 May 2011 06:42:34 +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-52419@lists.php.net to get a copy of this message
On Tue, May 17, 2011 at 4:22 AM, Benjamin Dubois <benjamin.dubois@gmail.com> wrote: > 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 -- Alexey Zakhlestin, http://twitter.com/jimi_dini http://www.milkfarmsoft.com/

« previous php.internals (#52419) next »