What is the output of the following code?

What is the output of the following code? $a = 3; switch ($a) { case 1: echo ‘one’; break;case 2: echo ‘two’; break; default: echo ‘four’; break; case 3: echo ‘three’; break; } A. three B. four C. two D. one Explanation: Show Answer

Read More

What is the difference between "print" and "echo"?

What is the difference between “print” and “echo”? A. There is no difference. B. Print has a return value, echo does not C. Echo has a return value, print does not D. Print buffers the output, while echo does not E. None of the above Explanation: Show Answer

Read More