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 ?$var = 10;function one(){echo $var;}one(); None of the Mentioned No Output 10 Error None of the Mentioned No Output 10 Error 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 day! None of the mentioned Have a good night! ERROR Have a good day! None of the mentioned Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); ia Hilla Warld eo Hello World ia Hilla Warld eo Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblablablabla helloblabla Error hello helloblablablabla helloblabla Error ANSWER DOWNLOAD EXAMIANS APP