PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "f" returns "cd" returns "c" returns "d" returns "f" returns "cd" returns "c" 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."); 2 4 None of the mentioned 5 2 4 None of the mentioned 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING GREETING, Hello you! How are you today? Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING GREETING, Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value -1 0 NULL Garbage value -1 0 NULL ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); Error I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? gzcompress() zip() compress() zip_compress() gzcompress() zip() compress() zip_compress() ANSWER DOWNLOAD EXAMIANS APP