The function used to iterate over array and object.
Correct Answer: foreach
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 function is used to check type of array
(8 < 1 || 4 >= 4 ) will return
$file = 'sample.txt'; $current = file_get_contents($file); $current .= 'Additional Info'; file_put_contents($file, $current); What is the meaning of above code?
Best way of writing an IF/ELSE statement on one line?
function foobar( ) { $a = func_get_args( ); return $a[2]; } print foobar('a',1,'b',2); What would the output be?
Is the PHP float type guaranteed to be 64 bit IEEE?
What's the output?
What is the precedence between && and 'and'?
What function would you use to delete a file?
Will the trim function strip NULL bytes?