|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60639 ReflectionFunction::IS_DEPRECATED is not used anywhere
Submitted: 2012-01-03 05:44 UTC Modified: 2018-09-05 14:48 UTC
Avg. Score:2.8 ± 0.5
Reproduced:0 of 3 (0.0%)
From: Assigned:
Status: Open Package: Reflection related
PHP Version: trunk-SVN-2012-01-03 (SVN) OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 - 15 = ?
Subscribe to this entry?

 [2012-01-03 05:44 UTC]
The ReflectionFunction class defines a constant IS_DEPRECATED which is not used anywhere. There is a method ReflectionFunction::isDeprecated() but it doesn't use this constant.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-05 14:48 UTC]
ReflectionFunction::IS_DEPRECATED has been introduced with commit
941b065[1], likely in preparation for something like
ReflectionFunction::getModifiers() (which would presently make not
much sense, though, since the only function modifier is
ZEND_ACC_DEPRECATED).  It can already be used with
ReflectionMethod::getModifiers(), but should probably be moved to
ReflectionFunctionAbstract, which would be a BC break, though.

[1] <;a=commit;h=941b0651dc7f1f6ca4f5fc88acde4d2a50632445>
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 16:01:23 2020 UTC