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
PHP Functions Returning values from functions may include ..... Arrays Objects None of above Both A & B Arrays Objects None of above Both A & B ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Magic Function User Defined Function Default Function Inbuilt Function Magic Function User Defined Function Default Function Inbuilt Function 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."); 5 None of the mentioned 4 2 5 None of the mentioned 4 2 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; Error 42 0 84 Error 42 0 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all country I Love All Country I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country ANSWER DOWNLOAD EXAMIANS APP