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 is good for health SaladSaladSaladSaladSalad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health Salad is good for health SaladSaladSaladSaladSalad Salad is good for health SaladSaladSaladSaladSalad is good for health ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}function b() {echo " I am here to spoil this code";}b(); None of the mentioned my favourite TV show isI am here to spoil this code I am here to spoil this code Error None of the mentioned my favourite TV show isI am here to spoil this code I am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 1 Option 4 All listed here Option 2 Option 1 Option 4 All listed here Option 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time To Live King Size Uppercase Time to live king size TIME TO LIVE KING SIZE Time To Live King Size Uppercase Time to live king size TIME TO LIVE KING SIZE ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "cd" returns "c" returns "f" returns "d" returns "cd" returns "c" returns "f" 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;} GREETING greeting ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP