| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ReflectionFunction::__construct(PHP 5, PHP 7) ReflectionFunction::__construct — ReflectionFunction オブジェクトを作成する 返り値値を返しません。 エラー / 例外
例
例1 ReflectionFunction::__construct() の例
<?php上の例の出力は、 たとえば以下のようになります。
===> The user-defined function 'counter1'
declared in Z:\reflectcounter.php
lines 7 to 11
---> Documentation:
'/**
* 簡単なカウンタ
*
* @return int
*/'
---> Static variables: array (
'c' => 0,
)
===> The user-defined function '{closure}'
declared in Z:\reflectcounter.php
lines 18 to 23
---> Documentation:
'/**
* 別の簡単なカウンタ
*
* @return int
*/'
---> Static variables: array (
'd' => 0,
)
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ReflectionFunction::__construct - ReflectionFunction オブジェクトを作成する」をGoogle検索
|