How should a variable be declared in a function, if the value has to be retained over multiple calls?
Correct Answer: static
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
Which will not give the correct date and time in PHP?
Which is the right MIME to use as a Content Type for JSON data?
Which is true regarding the str_replace() function in PHP?
Which are valid PHP data types?
What's the output? echo '1'.print(2) + 3;
<?php $x = 1; echo($x++ + ++$x + $x)*2; Which will the output be?
Function to read an entire file into an array ?
Which PHP extension allows you to simplify converting between different calendar formats?
Is there a function to listen on E_ERROR (fatal) errors?
Not a valid PHP variable type conversion?