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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC