PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); HelloWorld Error sayHello No Output HelloWorld Error sayHello No Output 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!";} None of the mentioned Have a good day! Have a good night! ERROR None of the mentioned Have a good day! Have a good night! ERROR 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 2 None of the mentioned 4 5 2 None of the mentioned 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? compress() zip() gzcompress() zip_compress() compress() zip() gzcompress() zip_compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); welcome to india This is PHP! Hello World! MCQ questons welcome to india This is PHP! Hello World! MCQ questons 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 Pass Time Pa55 Towe Pa55 Towe Pass Time Pass Time Pa55 Towe Pa55 Towe Pass ANSWER DOWNLOAD EXAMIANS APP