update : 2015.11.03
php.shukuma.com검색:
|
ReflectionFunction::__construct(PHP 5) ReflectionFunction::__construct — Constructs a ReflectionFunction object 반환값값을 반환하지 않습니다. 오류/예외
A ReflectionException if the 예제
Example #1 ReflectionFunction::__construct() example
<?php 위 예제의 출력 예시: ===> The user-defined function 'counter1' declared in Z:\reflectcounter.php lines 7 to 11 ---> Documentation: '/** * A simple counter * * @return int */' ---> Static variables: array ( 'c' => 0, ) ===> The user-defined function '{closure}' declared in Z:\reflectcounter.php lines 18 to 23 ---> Documentation: '/** * Another simple counter * * @return int */' ---> Static variables: array ( 'd' => 0, ) |