PHP Functions
What will be the output of the following PHP code ?
function constant()
{
define("GREETING", "Welcome to Narnia",true);
echo greeting;
}

ERROR
greeting
GREETING
Welcome to Narnia

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