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 A function in PHP which starts with ______ (double underscore) is know as. Default Function User Defined Function Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function Magic Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value NULL 0 -1 Garbage value NULL 0 -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "f" returns "c" returns "cd" returns "d" returns "f" returns "c" returns "cd" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } 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 day! Have a good night! None of the mentioned ERROR Have a good day! Have a good night! None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP