ReflectionParameter::allowsNull
PHP Manual
PHP Manual»ReflectionParameter»ReflectionParameter::allowsNull

ReflectionParameter::allowsNull

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::allowsNullChecks if null is allowed

Descrizione

public function ReflectionParameter::allowsNull(): bool

Checks whether the parameter allows null.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

true if null is allowed, otherwise false

Vedere anche:

To Top