PHP Functions It is always necessary to use parentheses with the print function. True False True False 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"); Uppercase 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bI am a I am bb Error I am a Error I am bI am a I am bb Error I am a Error 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"); 0 $msg Will this work Error 0 $msg Will this work 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 o world! 111 Hello world! No Output o world! 111 Hello world! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting GREETING ANSWER DOWNLOAD EXAMIANS APP