ExamVeda
Login
Home
This question belongs to PHP Arrays
Arrays
?

What will be the output of the following PHP code?
<?php
$face = array ("A", "J", "Q", "K");
$number = array ("2","3","4", "5", "6", "7", "8", "9", "10");
$cards = array_merge ($face, $number);
print_r ($cards);
?>

Answer & Solution
Correct Answer: Option A
The resulting array will begin with the first input array parameter, appending each subsequent array parameter in the order of appearance.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.