PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); World Hello World Hell 0 Wo rld HelloWorld World Hello World Hell 0 Wo rld HelloWorld 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 A function in PHP which starts with ______ (double underscore) is know as. Default Function User Defined Function Magic Function Inbuilt Function Default Function User Defined Function Magic Function Inbuilt 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";}}b(); None of the mentioned My favourite TV show isI am here to spoil this code Error I am here to spoil this code None of the mentioned My favourite TV show isI am here to spoil this code Error I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. False True False True 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