W3cubDocs

/PHP

ReflectionParameter::getPosition

(PHP 5 >= 5.1.3, PHP 7)

ReflectionParameter::getPositionGets parameter position

Description

public ReflectionParameter::getPosition ( ) : int

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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionparameter.getposition.php