文字

ReflectionParameter::getPosition

(PHP 5 >= 5.2.3)

ReflectionParameter::getPositionGets parameter position

说明

public int ReflectionParameter::getPosition ( void )

Gets the position of the parameter.

参数

此函数没有参数。

返回值

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

参见

  • ReflectionParameter::getName() - Gets parameter name

用户评论:

[#1] micah at raincross-tech dot com [2010-12-05 19:26:10]

Note that the ReflectionFunctionAbstract::getParameters() method will return the parameters in the correct order.

上一篇: 下一篇: