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

hello
helloblabla
error
helloblablablabla

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