PHP - Functions
What is the correct way to declare a function named
greet in PHP?greet in PHP?function followed by the function name and parentheses.function greet() { }, which is the correct PHP syntax for declaring a function named greet.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions