PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 4 2 5 None of the mentioned 4 2 5 None of the mentioned 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); 1 Sum Error 49 1 Sum Error 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} ERROR Have a good night! None of the mentioned Have a good day! ERROR Have a good night! None of the mentioned Have a good day! 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 Error I am b I am a Error I am bI am a Error I am b ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); Welcome to my india welcome to my india Welcome to my India welcome to my India Welcome to my india welcome to my india Welcome to my India welcome to my India 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 WorksThis Too Seems To Work This Too Seems To Work This Works ERROR This WorksThis Too Seems To Work This Too Seems To Work This Works ANSWER DOWNLOAD EXAMIANS APP