diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 76894fc12621e..0a3f54b530ff1 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -2827,7 +2827,7 @@ ZEND_METHOD(ReflectionParameter, getAttributes) param->fptr->type == ZEND_USER_FUNCTION ? param->fptr->op_array.filename : NULL); } -/* {{{ Returns whether this parameter is an optional parameter */ +/* {{{ Returns the index of the parameter, starting from 0 */ ZEND_METHOD(ReflectionParameter, getPosition) { reflection_object *intern;