PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hell 0 Wo rld Hello World World HelloWorld Hell 0 Wo rld Hello World World HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); Error sayHello HelloWorld No Output Error sayHello HelloWorld No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 0 Error 42 84 0 Error 42 84 ANSWER DOWNLOAD EXAMIANS APP
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 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 What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}function b(){echo " I am here to spoil this code";}b();TV("Sherlock"); I am here to spoil this code Error My favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP