ReflectionParameter::getPosition

(PHP 5 >= 5.2.3)

ReflectionParameter::getPositionGets parameter position

Description

public int ReflectionParameter::getPosition ( void )

Gets the position of the parameter.

Parameters

This function has no parameters.

Return Values

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

See Also

add a note add a note

User Contributed Notes 1 note

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