PHP Functions
What will be the output of the following PHP code?
function a() {
function b() {
echo 'I am b';
}
echo 'I am a';
}
a();
a();

I am a Error
I am bI am a
Error
I am b

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