PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 7 8 3 10 7 8 3 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); contact@examians.com @examians.com examians.com contact contact@examians.com @examians.com examians.com contact 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";}}a("Sherlock");b(); None of the mentioned my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); this works this works this too works this worksthis too works error this works this works this too works this worksthis too works error 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?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