php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "function reference"

How can a variable number of parameters be passed by reference in a PHP function?

When passing a variable number of parameters to a PHP function, you can use the `func_get_args()` function to retrieve all the parameters passed to th...

How can pass-by-reference be used to retrieve values from a PHP function?

Pass-by-reference in PHP allows us to modify the original value of a variable passed into a function, instead of just working with a copy of the value...

What is the difference between passing function arguments by value and by reference in PHP?

When passing function arguments by value in PHP, a copy of the variable is passed to the function, so any changes made to the variable within the func...

How can PHP 4 and PHP 5 handle default values for function parameters passed by reference differently?

In PHP 4, default values for function parameters passed by reference are not supported. However, in PHP 5, default values for parameters passed by ref...

Is there a built-in function in PHP to determine whether a variable is a reference or a directly assigned container?

In PHP, there is no built-in function to determine whether a variable is a reference or a directly assigned container. However, you can use the `debug...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.