PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "c" returns "d" returns "cd" returns "f" returns "c" returns "d" returns "cd" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function addFunction($num1, $num2) {$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : $return_value" Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 2 All listed here Option 1 Option 4 Option 2 All listed here Option 1 Option 4 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(); 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 I am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); eo Hello World ia Hilla Warld eo Hello World ia Hilla Warld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I love my Country I Love My Country I love my country i love my Country I love my Country I Love My Country I love my country i love my Country ANSWER DOWNLOAD EXAMIANS APP