PHP Functions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good for health."; is good for health Salad Salad is good for health is good for health SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health is good for health Salad Salad is good for health is good for health SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? md5() id() mdid() uniqueid() md5() id() mdid() uniqueid() 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 strlen() returns the length of the string on success and . . . . if the string is empty. 0 NULL Garbage value -1 0 NULL Garbage value -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? 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" Returned value from the function : Error Returned value from the function : 30 Returned value from the function : $return_value Returned value from the function : Error Returned value from the function : 30 Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP