ReflectionParameter::isOptional

(PHP 5 >= 5.0.3, PHP 7, PHP 8)

ReflectionParameter::isOptionalChecks if optional

Beschreibung

publicReflectionParameter::isOptional(): bool

Checks if the parameter is optional.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

true if the parameter is optional, otherwise false

Siehe auch

To Top