| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ReflectionGenerator::getFunction(PHP 7) ReflectionGenerator::getFunction — Gets the function name of the generator 説明Enables the function name of the generator to be obtained by returning a class derived from ReflectionFunctionAbstract. パラメータこの関数にはパラメータはありません。 返り値Returns a ReflectionFunctionAbstract class. This will be ReflectionFunction for functions, or ReflectionMethod for methods. 例
例1 ReflectionGenerator::getFunction() example
<?php 上の例の出力は、 たとえば以下のようになります。 object(ReflectionFunction)#3 (1) { ["name"]=> string(3) "gen" } 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ReflectionGenerator::getFunction - Gets the function name of the generator」をGoogle検索
|