PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 0.46364760900081 0.23568451142521 1 0.11845976421345 0.46364760900081 0.23568451142521 1 0.11845976421345 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } functionName(parameters) { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } 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 42 Error 0 84 42 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World HelloWorld Hell 0 Wo rld World Hello World HelloWorld Hell 0 Wo rld World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? mdid() uniqueid() md5() id() mdid() uniqueid() md5() id() 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 Error I am bI am a I am b I am a Error Error I am bI am a I am b ANSWER DOWNLOAD EXAMIANS APP