php / 8.1.5 / reflectionparameter.ispassedbyreference.html /

ReflectionParameter::isPassedByReference

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::isPassedByReferenceChecks if passed by reference

Description

public ReflectionParameter::isPassedByReference(): bool

Checks if the parameter is passed in by reference.

Parameters

This function has no parameters.

Return Values

true if the parameter is passed in by reference, otherwise false

See Also

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