PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() Only 2 All of the mentioned None of the mentioned 3 and 4 Only 2 All of the mentioned None of the mentioned 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function Magic Function Default Function User Defined Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 1 microseconds 10 seconds 100 microseconds 1 second 1 microseconds 10 seconds 100 microseconds 1 second ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Will this work 0 $msg Error Will this work 0 $msg Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); No Output Hello world! 111 o world! No Output Hello world! 111 o world! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time To Live King Size Time to live king size Uppercase TIME TO LIVE KING SIZE Time To Live King Size Time to live king size Uppercase TIME TO LIVE KING SIZE ANSWER DOWNLOAD EXAMIANS APP