PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 84 0 42 Error 84 0 42 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 2 Option 1 Option 4 All listed here Option 2 Option 1 Option 4 All listed here ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); 111 Hello world! o world! No Output 111 Hello world! o world! No Output 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 mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); None of the Mentioned Not True No Output Less Than 0 None of the Mentioned Not True No Output Less Than 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? id() uniqueid() md5() mdid() id() uniqueid() md5() mdid() ANSWER DOWNLOAD EXAMIANS APP