|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [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: Mon May 20 03:01:32 2024 UTC