ReflectionParameter::__construct(PHP 5) ReflectionParameter::__construct — Construct Описание
public ReflectionParameter::__construct
( string $function
, string $parameter
)
Constructs a ReflectionParameter class. Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов. Список параметров
Возвращаемые значенияЭта функция не возвращает значения после выполнения. Примеры
Пример #1 Using the ReflectionParameter class
<?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
}
Смотрите также
|
||