PHP Functions
Which one of the following is the right way of defining a function in PHP?

functionName(parameters) { function body }
data type functionName(parameters) { function body }
function { function body }
function fumctionName(parameters) { function body }

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
$title = "O'malley wins the heavyweight championship!";
echo ucwords($title);

O’Malley wins the heavyweight championship!
O’malley Wins The Heavyweight Championship!
o’malley wins the heavyweight championship!
O’Malley Wins The Heavyweight Championship!

ANSWER DOWNLOAD EXAMIANS APP