Q. Which is the correct syntax of defining function return type in PHP?
β
Correct Answer: (A)
function function_name(type $arguments) : return_type { /* function body*/ }
You must be Logged in to update hint/solution