PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); welcome to India welcome to india Welcome to india Welcome to India welcome to India welcome to india Welcome to india Welcome to India 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!";} 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! ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? fold() file() glob() get_file() fold() file() glob() get_file() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 84 0 Error 42 84 0 Error 42 ANSWER DOWNLOAD EXAMIANS APP
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 None of the mentioned 2 5 4 None of the mentioned 2 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "cd" returns "f" returns "d" returns "c" returns "cd" returns "f" returns "d" ANSWER DOWNLOAD EXAMIANS APP