ReflectionParameter::getPosition

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

ReflectionParameter::getPositionGets parameter position

說明

public ReflectionParameter::getPosition(): int

Gets the position of the parameter.

參數

此函數沒有參數。

返回值

The position of the parameter, left to right, starting at position #0.

參見