manual.verysource.com
源码
技术论坛
博客
程序员在线工具箱
php教程
php手册
php手册
PHP Manual
反射
The ReflectionType class
The ReflectionType class
(PHP 7)
简介
ReflectionType
类用于获取函数、类方法的参数或者返回值的类型。
类摘要
ReflectionType
{
/* 方法 */
public
allowsNull
(
void
) :
bool
public
isBuiltin
(
void
) :
bool
public
__toString
(
void
) :
string
}
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.
CopyRight © 2008-2022 verySource.Com All Rights reserved.
京ICP备17048824号-1
京公网安备:11010502034788