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(); 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 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld World Hell 0 Wo rld Hello World HelloWorld World Hell 0 Wo rld Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hello World Hilla Warld eo ia Hello World Hilla Warld eo ia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); This Works ERROR This WorksThis Too Seems To Work This Too Seems To Work This Works ERROR This WorksThis Too Seems To Work This Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function addFunction($num1, $num2){$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : " .$return_value Returned value from the function : 30 Returned value from the function : Error Returned value from the function : $return_value Returned value from the function : 30 Returned value from the function : Error Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. -1 Garbage value 0 NULL -1 Garbage value 0 NULL ANSWER DOWNLOAD EXAMIANS APP