PHP 8.3.7 Released!

ReflectionParameter::isOptional

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

ReflectionParameter::isOptionalVerifica se opcional

Descrição

public ReflectionParameter::isOptional(): bool

Verifica se o parâmetro é opcional.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

true se o parâmetro é opcional, caso contrário false

Veja Também

add a note

User Contributed Notes

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