Challenge your PHP knowledge with this engaging quiz! Test your understanding of PHP variables, functions, and control structures. Perfect for learners looking to assess or improve their PHP skills.
True
False
Rate this question:
True
False
Rate this question:
Break
Continue
Rate this question:
_LINE_
_FILE_
_FUNCTION_
_CLASS_
Rate this question:
$_FILES['file']['tmp_name']
$_FILES['file']['name']
$_FILES['file']['size']
$_FILES['file']['type']
Rate this question:
Variables can, but do not need, to be declared before assignment
Variables in PHP do not have intrinsic types - a variable does not know in advance whether it will be used to store a number or a string of characters.
Variables used before they are assigned have default values.
All of the above.
Rate this question:
Array_reverse()
Array_search()
Array_shift()
Array_slice()
Rate this question:
Redirect()
Header()
Reflect()
None of the above
Rate this question:
The preg_match() function searches a string specified by string for a string specified by pattern, returning true if the pattern is found, and false otherwise.
The preg_match() function searches throughout a string specified by pattern for a string specified by string. The search is not case sensitive.
The preg_match() function searches string for pattern, returning true if pattern exists, and false otherwise.
None of the above
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.