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! 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
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 10 seconds 1 microseconds 1 second 100 microseconds 10 seconds 1 microseconds 1 second 100 microseconds ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 75 error 100 25 75 error 100 25 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia greeting ERROR GREETING Welcome to Narnia greeting ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); ERROR This Too Seems To Work This Works This WorksThis Too Seems To Work ERROR This Too Seems To Work This Works This WorksThis Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP