ReflectionFunctionAbstract::isGenerator

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

ReflectionFunctionAbstract::isGenerator判断函数是否是一个生成器函数

说明

public ReflectionFunctionAbstract::isGenerator(): bool

警告

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

生成器函数返回 true,否则返回 false on failure.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/reflectionfunctionabstract.isgenerator.php