Inspectopedia
 
2025.2

Pass parameter by reference

Error
Last modified: Last modified: 18 September 2025

Reports the arguments in a function/method call that cannot be passed by reference.

Only variables and references returned from functions can be passed by reference. See Passing by Reference (php.net) for details.