phpday 2027 - Call for Papers

ReflectionParameter::isOptional

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

ReflectionParameter::isOptional — Verifica si el parámetro es opcional

Descripción

public function ReflectionParameter::isOptional(): bool

Verifica si el parámetro es opcional.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

true si el parámetro es opcional, false en caso contrario.

Véase también

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