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 SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad is good for health Salad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. NULL 0 -1 Garbage value NULL 0 -1 Garbage value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 1 Option 4 Option 2 All listed here Option 1 Option 4 Option 2 All listed here 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 ERROR greeting Welcome to Narnia GREETING ERROR greeting 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 : 30 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 : ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left right to left sometimes left to right and sometimes right to left left to right Always right to left right to left sometimes left to right and sometimes right to left left to right ANSWER DOWNLOAD EXAMIANS APP