update : 2015.11.03
php.shukuma.com검색:
|
ReflectionClass::getDefaultProperties(PHP 5) ReflectionClass::getDefaultProperties — Gets default properties 설명
public array ReflectionClass::getDefaultProperties
( void
)
Gets default properties from a class (including inherited properties).
인수이 함수는 인수가 없습니다. 반환값
An array of default properties, with the key being the name of
the property and the value being the default value of the property or 예제
Example #1 ReflectionClass::getDefaultProperties() example
<?php 위 예제의 출력: array(5) { ["staticProperty"]=> string(14) "staticProperty" ["property"]=> string(15) "propertyDefault" ["privateProperty"]=> string(22) "privatePropertyDefault" ["defaultlessProperty"]=> NULL ["inheritedProperty"]=> string(16) "inheritedDefault" } 참고
|