PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "cd" returns "c" returns "f" returns "d" returns "cd" returns "c" returns "f" 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
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 84 42 0 Error 84 42 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Time Pa55 Towe Pa55 Towe Pass Time Pass Time Pa55 Towe Pa55 Towe Pass Time Pass ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_flip() array_transpose() array_flips() array_trans() array_flip() array_transpose() array_flips() array_trans() ANSWER DOWNLOAD EXAMIANS APP