| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ReflectionParameter::__construct(PHP 5, PHP 7) ReflectionParameter::__construct — コンストラクタ 説明
public ReflectionParameter::__construct
( string
$function
, string $parameter
)ReflectionParameter クラスのコンストラクタです。 警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ
返り値値を返しません。 例
例1 ReflectionParameter クラスの使用
<?php 上の例の出力は、 たとえば以下のようになります。 Function [ <user> function foo ] { @@ /Users/philip/cvs/phpdoc/a 2 - 2 - Parameters [3] { Parameter #0 [ <required> $a ] Parameter #1 [ <required> $b ] Parameter #2 [ <required> $c ] } } -- Parameter #0: a { Class: NULL Allows NULL: true Passed to by reference: false Is optional?: no } -- Parameter #1: b { Class: NULL Allows NULL: true Passed to by reference: false Is optional?: no } -- Parameter #2: c { Class: NULL Allows NULL: true Passed to by reference: false Is optional?: no } 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ReflectionParameter::__construct - コンストラクタ」をGoogle検索
|