+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 <[EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2008 at 4:55 AM, Lars Strojny <[EMAIL PROTECTED]> 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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php