php.net |  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
Votes:13
Avg. Score:2.8 ± 0.5
Reproduced:0 of 3 (0.0%)
From: vrana@php.net 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vrana@php.net
New email:
PHP Version: OS:

 

 [2012-01-03 05:44 UTC] vrana@php.net
Description:
------------
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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-05 14:48 UTC] cmb@php.net
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] <http://git.php.net/?p=php-src.git;a=commit;h=941b0651dc7f1f6ca4f5fc88acde4d2a50632445>
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 00:01:25 2019 UTC