Search Results
ReflectionFunctionAbstract::isGenerator (PHP 5 >= 5.5.0, PHP 7, PHP 8) ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator
Simple usage example of `ReflectionFunctionAbstract::isGenerator ()`. The `ReflectionFunctionAbstract::isGenerator` function is used in PHP to determine whether a given function is a generator or not. A generator is a special type of function that allows you to iterate over a sequence of values without needing to generate the entire sequence upfront, which can be useful for working with large ...
Return Values Returns TRUE if the function is generator, FALSE if it is not or NULL on failure.
ReflectionFunctionAbstract::isClosure — Checks if closure ReflectionFunctionAbstract::isDeprecated — Checks if deprecated ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator ReflectionFunctionAbstract::isInternal — Checks if is internal ReflectionFunctionAbstract::isStatic — Checks if the function is ...
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
ReflectionFunctionAbstract::inNamespace — Checks if function in namespace ReflectionFunctionAbstract::isClosure — Checks if closure ReflectionFunctionAbstract::isDeprecated — Checks if deprecated ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator
ReflectionFunctionAbstract::isClosure — Checks if closure ReflectionFunctionAbstract::isDeprecated — Checks if deprecated ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator ReflectionFunctionAbstract::isInternal — Checks if is internal ReflectionFunctionAbstract::isUserDefined — Checks if user defined
