Bug #81200 [NEW]: Determine if Closure is static
| From: | krakjoe@php.net | Date: | Fri, 25 Jun 2021 09:41:29 +0000 |
| Subject: | Bug #81200 [NEW]: Determine if Closure is static | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-234628@lists.php.net to get a copy of this message | ||
From: krakjoe
Operating system:
PHP version: Irrelevant
Package: Reflection related
Bug Type: Bug
Bug description:Determine if Closure is static
Description:
------------
The isStatic method exists only on ReflectionMethod, this means you
can't use ReflectionFunction::isStatic on a closure.
Since all other Closure reflection methods are declared as part of
ReflectionFunctionAbstract, we need to move ReflectionMethod::isStatic
to RFA.
--
Edit bug report at https://bugs.php.net/bug.php?id=81200&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81200&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81200&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81200&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81200&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81200&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81200&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81200&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81200&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81200&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81200&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81200&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81200&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81200&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81200&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81200&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81200&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81200&r=mysqlcfg