1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Add ReflectionFunction::isAnonymous()

Closes GH-8499.
This commit is contained in:
Nicolas Grekas
2022-05-05 15:51:20 +02:00
committed by Christoph M. Becker
parent 7e272b9a10
commit be11bcb0b1
6 changed files with 43 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ class ReflectionFunction extends ReflectionFunctionAbstract
public function __toString(): string {}
public function isAnonymous(): bool {}
/**
* @tentative-return-type
* @deprecated ReflectionFunction can no longer be constructed for disabled functions