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(); a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error $msg Will this work 0 Error $msg Will this work 0 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(); I am here to spoil this code None of the mentioned my favourite TV show isI am here to spoil this code Error I am here to spoil this code None of the mentioned 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 constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia greeting GREETING ERROR Welcome to Narnia greeting GREETING ERROR 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; 84 0 42 Error 84 0 42 Error ANSWER DOWNLOAD EXAMIANS APP