Re: [RFC] E_USER_DEPRECATED

From: Date: Sun, 20 Jul 2008 20:02:06 +0000
Subject: Re: [RFC] E_USER_DEPRECATED
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-39118@lists.php.net to get a copy of this message
On 20.07.2008, at 07:45, Nathan Nobbe wrote:
On Sat, Jul 19, 2008 at 4:55 AM, Lars Strojny <lstrojny@php.net> wrote:
Hi everbody, regarding my mail from yesterday, I've also created an RFC for the new error level. http://wiki.php.net/rfc/e-user-deprecated-warning
i definitely like the E_USER_DEPRECATED :D im curious though, about E_DEPRECATED. is this for deprecated functions at the C level, or just the php api? the reason i ask is because deprecation notices are already issued via the E_STRICT level, for example, when using is_a() today, w/ E_STRICT enabled, the following is generated Strict standards: is_a(): Deprecated. Please use the instanceof operator in ... would, perhaps, the deprecation level for is_a() move to E_DEPRECATED (i noticed its still there in 5.3)?
deprecation of is_a() was a mistake that has been reverted. regards, Lukas Kahwe Smith mls@pooteeweet.org

« previous php.internals (#39118) next »