Req #79628 [Asn->Csd]: Missing filter argument in ReflectionClass::getConstants()
| From: | carusogabriel@php.net | Date: | Sun, 07 Jun 2020 14:04:30 +0000 |
| Subject: | Req #79628 [Asn->Csd]: Missing filter argument in ReflectionClass::getConstants() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227348@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79628&edit=1
ID: 79628
Updated by: carusogabriel@php.net
Reported by: enumag at gmail dot com
Summary: Missing filter argument in
ReflectionClass::getConstants()
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Reflection related
-PHP Version: 7.4.6
+PHP Version: Next Major Version
Assigned To: carusogabriel
Block user comment: N
Private report: N
New Comment:
Pull Request merged, and this functionality will be available in PHP 8.0.0.
Previous Comments:
------------------------------------------------------------------------
[2020-05-30 22:48:20] carusogabriel@php.net
The following pull request has been associated:
Patch Name: Add $filter parameter for ReflectionClass::(getConstants|getReflectionConstants)
On GitHub: https://github.com/php/php-src/pull/5649
Patch: https://github.com/php/php-src/pull/5649.patch
------------------------------------------------------------------------
[2020-05-25 09:42:19] enumag at gmail dot com
Description:
------------
Not that class contants can have visibility, I think that ReflectionClass::getConstants() and
ReflectionClass::getReflectionConstants() should have a filter similar to getMethods and
getProperties().
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79628&edit=1