ReflectionParameter::allowsNull

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::allowsNullChecks if null is allowed

Descrição

public ReflectionParameter::allowsNull(): bool

Checks whether the parameter allows null.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

true if null is allowed, otherwise false

Veja Também