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

Welcome to Narnia
GREETING
ERROR
greeting

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