Re: [RFC] E_USER_DEPRECATED

From: Date: Sun, 20 Jul 2008 05:45:22 +0000
Subject: Re: [RFC] E_USER_DEPRECATED
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-39110@lists.php.net to get a copy of this message
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)? -nathan

« previous php.internals (#39110) next »