? ReflectionProperty::__toString
ReflectionType::allowsNull ?
PHP Manual
反射
The ReflectionType class
The ReflectionType class
(PHP 7)
简介
ReflectionType
类用于获取函数、类方法的参数或者返回值的类型。
类摘要
ReflectionType
{
/* 方法 */
public
bool
allowsNull
(
void
)
public
bool
isBuiltin
(
void
)
public
string
__toString
(
void
)
}
Table of Contents
ReflectionType::allowsNull
— Checks if null is allowed
ReflectionType::isBuiltin
— Checks if it is a built-in type
ReflectionType::__toString
— To string
User Contributed Notes
There are no user contributed notes for this page.