PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR GREETING 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; Error 42 84 0 Error 42 84 0 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(); Error I am b I am bI am a I am a Error Error I am b I am bI am a I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_sunrise() getdate() date_create() date() date_sunrise() getdate() date_create() date() ANSWER DOWNLOAD EXAMIANS APP
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 SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health Salad is good for health is good for health Salad is good for health SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health Salad is good for health is good for health Salad 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(); Error I am b I am bI am a I am a Error Error I am b I am bI am a I am a Error ANSWER DOWNLOAD EXAMIANS APP