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
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executedb is executedb is executed b is executeda is executedb is executed b is executeda is executed a is executed b is executedb is executedb is executed b is executeda is executedb is executed b is executeda is executed a is executed ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting GREETING 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";}}a("Sherlock");b(); my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code None of the mentioned Error my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code None of the mentioned Error 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(); None of the mentioned I am here to spoil this code my favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code my favourite TV show isI am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); -0.5 1 0 0.5 -0.5 1 0 0.5 ANSWER DOWNLOAD EXAMIANS APP