Home / Programming MCQs / PHP MCQs / Question
R
Q. What will be the output of the following PHP code?
<?php $car = "Honda"; switch ($car) { case "Honda": echo "You selected Honda."; case "BMW": echo "You selected BMW."; case "AUDI": echo "You selected Audi."; default: echo "None is selected."; } ?>
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following PHP code?
What does SPL stands for in Php?
Which PHP function is used to get the random number?
Which of the following is the default file extension of PHP?
What will be the output of the following PHP code ?
Which one of the following functions will convert a string to all uppercase?
Which PHP version provide Exception handling?
Which PHP version provided the “instanceof” keyword?
Which element of the of PHP $_SERVER variable is used to get the path of the current script?
Discusssion
Login to discuss.