What will be the output of the following PHP code?
<?php
$number = array ("4", "hello", 2);
echo (array_sum ($number));
?>
<?php
$number = array ("4", "hello", 2);
echo (array_sum ($number));
?>
A. 4hello2
B. 4
C. 2
D. 6
Answer: Option D
Join The Discussion