PHP Functions Which one of the following is the right way of defining a function in PHP? data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); No Output Less Than 0 Not True None of the Mentioned No Output Less Than 0 Not True None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 0.11845976421345 0.46364760900081 0.23568451142521 1 0.11845976421345 0.46364760900081 0.23568451142521 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); ERROR None of the mentioned Hello World No Output ERROR None of the mentioned Hello World No Output 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';}a();a(); I am a Error I am bI am a Error I am b I am a Error I am bI am a Error I am b 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;} GREETING greeting ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP