PHP 7.0.6 Released

ReflectionParameter::getPosition

(PHP 5 >= 5.2.3, PHP 7)

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

User Contributed Notes

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