• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • ReflectionParameter::getPosition()

    (PHP 5 >= 5.1.3, PHP 7)

    Gets parameter position

    说明

    publicReflectionParameter::getPosition(void) : int

    Gets the position of the parameter.

    参数

    此函数没有参数。

    返回值

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

    参见

    • ReflectionParameter::getName() Gets parameter name
    Note that the ReflectionFunctionAbstract::getParameters() method will return the parameters in the correct order.