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 What will be the output of the following PHP code?echo(atan(0.50)); 0.11845976421345 1 0.46364760900081 0.23568451142521 0.11845976421345 1 0.46364760900081 0.23568451142521 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "d" returns "cd" returns "c" returns "f" returns "d" returns "cd" returns "c" 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 My favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error 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 } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } 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