|
update : 2015.11.03
php.shukuma.com검색:
|
class_uses(PHP 5 >= 5.4.0) class_uses — Return the traits used by the given class 설명
This function returns an array with the names of the traits that the
given 인수
반환값
An array on success, or 예제
Example #1 class_uses() example
<?php위 예제의 출력 예시:
Array
(
[foo] => foo
)
Array
(
[foo] => foo
)
Array
(
[trait_of_not_loaded] => trait_of_not_loaded
)
참고
|