PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); Hello world! o world! 111 No Output Hello world! o world! 111 No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Sum 1 Error 49 Sum 1 Error 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... None of above Objects Arrays Both A & B None of above Objects Arrays Both A & B 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); This Too Seems To Work This WorksThis Too Seems To Work This Works ERROR This Too Seems To Work This WorksThis Too Seems To Work This Works ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); contact examians.com contact@examians.com @examians.com contact examians.com contact@examians.com @examians.com ANSWER DOWNLOAD EXAMIANS APP