PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World HelloWorld World Hell 0 Wo rld Hello World HelloWorld World Hell 0 Wo rld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_transpose() array_flip() array_flips() array_trans() array_transpose() array_flip() array_flips() array_trans() 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 Pass Time Pass Towe Pa55 Time Pa55 Towe Pass Time Pass Towe Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. -1 0 NULL Garbage value -1 0 NULL Garbage value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed ANSWER DOWNLOAD EXAMIANS APP