PHP Functions
What will be the output of the following PHP code ?
function TV($string) {
echo "my favourite TV show is ".$string;
function b() {
echo " I am here to spoil this code";
}
}
b();

My favourite TV show isI am here to spoil this code
I am here to spoil this code
None of the mentioned
Error

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