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 0 84 42 Error 0 84 42 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."; 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 is good for health Salad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 104 209 106 103 104 209 106 103 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} ERROR Have a good night! None of the mentioned Have a good day! ERROR Have a good night! None of the mentioned Have a good day! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date() date_sunrise() date_create() getdate() date() date_sunrise() date_create() getdate() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 2 All listed here Option 4 Option 1 Option 2 All listed here Option 4 Option 1 ANSWER DOWNLOAD EXAMIANS APP