What is the result of execution following code?

<?php
$a = 500;
$b = 200;

echo $a % 2 * $b;
?>
Explanation
Arithmetic operators as * or % has the same priority. Remainder of 500 divided by 2 is 0.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
PHP quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes