PHP 7.4.9 Released!

The ReflectionType class

(PHP 7)

Introducción

The ReflectionType class reports information about a function's return type.

Sinopsis de la Clase

ReflectionType {
/* Métodos */
public allowsNull ( void ) : bool
public isBuiltin ( void ) : bool
public __toString ( void ) : string
}

Tabla de contenidos

add a note add a note

User Contributed Notes 2 notes

up
18
1franck
6 months ago
For those who stumble on notice about ReflectionType::__toString() beeing deprecated, use method ReflectionType::getName() instead which is not yet documented.
up
0
roland at mxchange dot org
4 months ago
I guess it is <?php ReflectionNamedType::getName(); ?> ?
To Top