|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC