Re: RFC: Add a deprecated modifier for functions
| From: | Johannes Schlüter | Date: | Wed, 26 Dec 2012 23:42:51 +0000 |
| Subject: | Re: RFC: Add a deprecated modifier for functions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64445@lists.php.net to get a copy of this message | ||
Yussuf Khalil <dev@pp3345.de> wrote:
>Could you please explain why a simple keyword like T_DEPRECATED could
>break something?
It breaks everything using "deprecated" as function name, constant, property name, class
name, method name, ... as the parser doesn't know much about the meaning and context.
johannes