MCQs>IT & Programming>PHP 5>When passing an undefined variable to a function by reference, e.g. function test(&$var) { /* ... */ } unset($x); test($x); What is the error message?
PHP 5 MCQs
When passing an undefined variable to a function by reference, e.g. function test(&$var) { /* ... */ } unset($x); test($x); What is the error message?
Answer
Correct Answer: No error message, the variable will be created.
Explanation:
Note: This Question is unanswered, help us to find answer for this one