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?$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
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); 49 1 Sum Error 49 1 Sum Error 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(); my favourite TV show is SherlockI am here ro spoil this code Error None of the mentioned I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code Error None of the mentioned I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); sayHello HelloWorld No Output Error sayHello HelloWorld No Output Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... sometimes left to right and sometimes right to left right to left Always right to left left to right sometimes left to right and sometimes right to left right to left Always right to left left to right ANSWER DOWNLOAD EXAMIANS APP