PHP Functions
What will be the output of the following PHP code?
$op2 = "blabla"; function foo($op1) {
echo $op1;
echo $op2;
}
foo("hello");

helloblabla
hello
helloblablablabla
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