ReflectionParameter::allowsNull

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::allowsNullChecks if null is allowed

Beschreibung

public ReflectionParameter::allowsNull(): bool

Checks whether the parameter allows null.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

true if null is allowed, otherwise false

Siehe auch