ReflectionType (class)
The ReflectionType class
Introduction
(PHP 7)
The ReflectionType class reports information about a function's return type.
Class synopsis
ReflectionType {
/* Methods */
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
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.reflectiontype.php