PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); ERROR No Output None of the mentioned Hello World ERROR No Output None of the mentioned Hello World 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."); None of the mentioned 4 2 5 None of the mentioned 4 2 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() 3 and 4 None of the mentioned Only 2 All of the mentioned 3 and 4 None of the mentioned Only 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Sum Error 1 49 Sum Error 1 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? compress() zip() zip_compress() gzcompress() compress() zip() zip_compress() gzcompress() 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; 0 84 42 Error 0 84 42 Error ANSWER DOWNLOAD EXAMIANS APP