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:
PHP
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback