在线文档教程
PHP
反射 | Reflection

ReflectionFunctionAbstract::isGenerator

ReflectionFunctionAbstract::isGenerator

(PHP 5 >= 5.5.0, PHP 7)

ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator

Description

public bool ReflectionFunctionAbstract::isGenerator ( void )

Warning

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

Parameters

This function has no parameters.

Return Values

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

← ReflectionFunctionAbstract::isDeprecated

ReflectionFunctionAbstract::isInternal →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionfunctionabstract.isgenerator.php