update : 2015.11.03
php.shukuma.com검색:
|
ReflectionProperty::getValue(PHP 5) ReflectionProperty::getValue — Gets value 인수
반환값The current value of the property. 오류/예외Throws a ReflectionException if the property is inaccessible. You can make a protected or private property accessible using ReflectionProperty::setAccessible(). 예제
Example #1 ReflectionProperty::getValue() example
<?php 위 예제의 출력: string(6) "foobar" string(6) "barfoo" string(6) "foofoo" 참고
|