PHPWales 2020 - June 3rd to June 4th

ReflectionParameter::getPosition

(PHP 5 >= 5.1.3, PHP 7)

ReflectionParameter::getPositionGets parameter position

Descrição

public ReflectionParameter::getPosition ( void ) : int

Gets the position of the parameter.

Parâmetros

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

Valor Retornado

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

Veja Também

add a note add a note

User Contributed Notes 1 note

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