|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81200 Determine if Closure is static
Submitted: 2021-06-25 09:41 UTC Modified: -
From: Assigned:
Status: Closed Package: Reflection related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2021-06-25 09:41 UTC]
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-28 07:49 UTC]
Automatic comment on behalf of krakjoe
Log: Fix bug #81200 ReflectionMethod::isStatic belongs on ReflectionFunctionAbstract
 [2021-06-28 07:49 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 15:01:33 2024 UTC