PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "c" returns "f" returns "cd" returns "d" returns "c" returns "f" returns "cd" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executed b is executedb is executedb is executed a is executed b is executeda is executedb is executed b is executeda is executed b is executedb is executedb is executed a is executed b is executeda is executedb is executed 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(); Error None of the mentioned I am here to spoil this code my favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code my favourite TV show isI am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... None of above Objects Arrays Both A & B None of above Objects Arrays Both A & B 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(); I am b I am bI am a Error I am a Error I am b I am bI am a Error I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! ANSWER DOWNLOAD EXAMIANS APP