What will be the result of executing following code?
$a = array(1, 5, 8);
$b = array(3, 7, 2);

if ($a > $b) {
    echo "158";
} elseif ($a < $b) {
    echo "372";
} else {
    echo "none";
}
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

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