PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Magic Function User Defined Function Inbuilt Function Default Function Magic Function User Defined Function Inbuilt Function Default Function 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 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Objects None of above Both A & B Arrays Objects None of above Both A & B Arrays 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 a Error I am b I am bI am a Error I am a Error I am b I am bI am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); World Hello World HelloWorld Hell 0 Wo rld World Hello World HelloWorld Hell 0 Wo rld 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 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 ANSWER DOWNLOAD EXAMIANS APP