Re: [PHP-DEV] RFC: Add a deprecated modifier for functions

2012-12-26 Thread Yussuf Khalil
Could you please explain why a simple keyword like T_DEPRECATED could break something? Yussuf Khalil Yussuf Khalil wrote: I have created an RFC about adding a deprecated modifier for functions in PHP, see https://wiki.php.net/rfc/deprecated-modifier. What are your thoughts on this? I

Re: [PHP-DEV] RFC: Add a deprecated modifier for functions

2012-12-26 Thread Yussuf Khalil
agree that there are some cases where throwing a customized E_USER_DEPRECATED error can be useful, but most users will be happy with the normal E_DEPRECATED error thrown automatically when a function is given the ZEND_ACC_DEPRECATED flag. Yussuf Khalil On Wed, Dec 26, 2012 at 10:04 PM, Eug

Re: [PHP-DEV] RFC: Add a deprecated modifier for functions

2012-12-26 Thread Yussuf Khalil
these cases, for example getDocTag($name) and hasDocTag($name). On Wed, Dec 26, 2012 at 4:22 PM, Yussuf Khalil wrote: Hello, I have created an RFC about adding a deprecated modifier for functions in PHP, see https://wiki.php.net/rfc/**deprecated-modifier<https://wiki.php.net/rfc/deprecated-

[PHP-DEV] RFC: Add a deprecated modifier for functions

2012-12-26 Thread Yussuf Khalil
Hello, I have created an RFC about adding a deprecated modifier for functions in PHP, see https://wiki.php.net/rfc/deprecated-modifier. What are your thoughts on this? Thank you, Yussuf Khalil -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net