PHP 8.3.4 Released!

ReflectionParameter::isOptional

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

ReflectionParameter::isOptionalChecks if optional

Beschreibung

public ReflectionParameter::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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top