PHP Functions
What will be the output of the following PHP code?
function sum($num1, $num2) {
$total = $num1 + $num2;
echo "chr($total)";
}
$var1 = "sum";
$var1(5, 44);

49
1
Error
Sum

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