Classes/Object 函数
PHP Manual

get_declared_traits

(No version information available, might only be in SVN)

get_declared_traitsReturns an array of all declared traits

说明

array get_declared_traits ( void )

参数

此函数没有参数。

返回值

Returns an array with names of all declared traits in values. Returns NULL in case of a failure.

参见


Classes/Object 函数
PHP Manual