phpday 2027 - Call for Papers

ReflectionParameter::isOptional

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

ReflectionParameter::isOptional — Checks if optional

Опис

public function ReflectionParameter::isOptional(): bool

Checks if the parameter is optional.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

true if the parameter is optional, otherwise false

Прогляньте також

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top