To pass an argument by reference in a PHP function, you prepend the argument with the ________ symbol.
- &
- $
- @
- *
To pass an argument by reference in PHP, you prepend it with the '&' symbol. This allows the function to modify the original variable passed as an argument.
Loading...
Related Quiz
- What is the function file_get_contents() useful for?
- How can you check if a file exists in PHP?
- How do you use the $_SERVER superglobal in PHP?
- Which of the following functions in PHP can be used to check the type of a number?
- In PHP, you can define a static method using the static keyword like public static function FunctionName() { ______ }.