Re: [RFC] E_USER_DEPRECATED

From: Date: Sun, 20 Jul 2008 08:44:40 +0000
Subject: Re: [RFC] E_USER_DEPRECATED
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-39111@lists.php.net to get a copy of this message
+1 from me in PHP 5.3 deprecation notices have been split of from E_STRICT into E_DEPRECATED On Sun, Jul 20, 2008 at 6:45 AM, Nathan Nobbe <quickshiftin@gmail.com> 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)? > > -nathan >

« previous php.internals (#39111) next »