PHP Velho Oeste 2024

ReflectionParameter::getPosition

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

ReflectionParameter::getPositionパラメータの位置を取得する

説明

public ReflectionParameter::getPosition(): int

パラメータの位置を取得します。

パラメータ

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

戻り値

パラメータの位置を取得します。左から右へ数え、最初のパラメータが 0 番目となります。

参考

add a note add a note

User Contributed Notes 1 note

up
2
micah at raincross-tech dot com
13 years ago
Note that the ReflectionFunctionAbstract::getParameters() method will return the parameters in the correct order.
To Top