What will be the result of executing following code?
function foo($bar = "baz") {
    return $bar;
}
echo foo();
echo foo(null);
echo foo("qux");
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