|
update : 2015.11.03
php.shukuma.com검색:
|
ReflectionParameter::__construct(PHP 5) ReflectionParameter::__construct — Construct 설명
public ReflectionParameter::__construct
( string
$function
, string $parameter
)Constructs a ReflectionParameter class. Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다. 인수
반환값값을 반환하지 않습니다. 예제
Example #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
}
참고
|