CakeFest 2024: The Official CakePHP Conference

ReflectionParameter::isVariadic

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

ReflectionParameter::isVariadic引数が可変長の個数であるかをチェックする

説明

public ReflectionParameter::isVariadic(): bool

引数が 可変長引数リスト として宣言されているかを調べます。

パラメータ

この関数にはパラメータはありません。

戻り値

引数が可変長であれば true を、そうでなければ false を返します。

add a note

User Contributed Notes

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