PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} GREETING ERROR Welcome to Narnia greeting GREETING ERROR Welcome to Narnia greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 1 All listed here Option 4 Option 2 Option 1 All listed here Option 4 Option 2 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 : Returned value from the function : 30 Returned value from the function : $return_value Error Returned value from the function : Returned value from the function : 30 Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); Welcome to India welcome to India Welcome to india welcome to india Welcome to India welcome to India Welcome to india welcome to india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. False True False True ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); I am bI am a I am a Error Error I am b I am bI am a I am a Error Error I am b ANSWER DOWNLOAD EXAMIANS APP