PHP - Functions
What will be the output of this PHP code?
function sayHi() {
echo "Hi! ";
}
sayHi();
sayHi();function sayHi() {
echo "Hi! ";
}
sayHi();
sayHi();sayHi() prints "Hi! " each time it is called.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions