PHP 8.0.0 Beta 4 available for testing


(PHP 5 >= 5.5.0, PHP 7)

ReflectionFunctionAbstract::isGeneratorReturns whether this function is a generator


public ReflectionFunctionAbstract::isGenerator ( void ) : bool


This function is currently not documented; only its argument list is available.


This function has no parameters.

Return Values

Returns TRUE if the function is generator, FALSE if it is not or NULL on failure.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top