Multiple Choice
What will be the output of the following php code?
<?php $num = "1"; $num1 = "2"; print $num+$num1; ?>
A) 3
B) 1+2
C) Error
D) 12
Correct Answer:

Verified
Correct Answer:
Verified
Q4: What functions count elements in an array?<br>A)Count<br>B)Size<br>C)Array_Count<br>D)Count_array
Q5: There are three different kind of arrays:<br>A)Numeric
Q6: Which of the below statements is equivalent
Q7: Which of the following is/are a PHP
Q8: What function computes the difference of arrays?<br>A)array_diff<br>B)diff_array<br>C)arrays_diff<br>D)diff_arrays
Q10: Who is the father of PHP?<br>A)Rasmus Lerdorf<br>B)Willam
Q11: Which of following variables can be assigned
Q12: What will be the output of the
Q13: If $a = 12 what will be
Q14: Which version of PHP introduced Try/catch Exception?<br>A)PHP