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
Q8: Which of the following is/are a PHP
Q9: Which version of PHP introduced Try/catch Exception?
A)PHP
Q10: We can use _ to comment a
Q11: Which of the below statements is equivalent
Q12: Which of the conditional statements is/are supported
Q13: Which of the looping statements is/are supported
Q14: If $a = 12 what will be
Q15: Who is the father of PHP?
A)Rasmus Lerdorf
B)Willam
Q17: Which of following variables can be assigned
Q18: What will be the output of the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents