PHP Functions Which of the following PHP functions can be used for generating unique id’s? uniqueid() mdid() md5() id() uniqueid() mdid() md5() id() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); -0.5 0 1 0.5 -0.5 0 1 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bI am a I am bb Error I am a Error I am bI am a I am bb Error I am a Error 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 : $return_value Returned value from the function : Returned value from the function : 30 Error Returned value from the function : $return_value Returned value from the function : Returned value from the function : 30 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 Error 42 0 84 Error 42 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); I am awesome!! const “const”,”I am awesome!” const, I am awesome!! I am awesome!! const “const”,”I am awesome!” const, I am awesome!! ANSWER DOWNLOAD EXAMIANS APP