PHP Velho Oeste 2024

ReflectionParameter::getPosition

(PHP 5 >= 5.1.3, PHP 7, PHP 8)

ReflectionParameter::getPositionRécupère la position d'un paramètre

Description

public ReflectionParameter::getPosition(): int

Récupère la position d'un paramètre.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

La position du paramètre, depuis la gauche vers la droite, et en commençant à la position #0.

Voir aussi

add a note add a note

User Contributed Notes 1 note

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