Re: [RFC] E_DEPRECATED

From: Date: Mon, 23 Oct 2006 22:03:09 +0000
Subject: Re: [RFC] E_DEPRECATED
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-26209@lists.php.net to get a copy of this message
Derick Rethans wrote: >> . E_STRICT any rule that reflects common strict standards, like OOP theory >> that is considered harmless if not followed. For example the combination >> 'abstract static' makes no sense in said theory but doesn't put our zend >> engine in an unstable state. > > +1, but then we should also expand this to include: > > - setting object variables without declaring them > - auto-creating objects of stdclass on the fly > - and other things that you *should* (not) do > > These can be added later ofcourse, doesn't have to be directly in > 5.2.0, however that would probably be better. I'm -1 on expanding strictness to this. I don't understand why you should not do this? Writing mydb_fetch_object() becomes impossible in userspace if we go this far. It would also make any legal use of stdClass impossible. Edin

« previous php.internals (#26209) next »