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); 1 49 Error Sum 1 49 Error Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} None of the mentioned ERROR Have a good day! Have a good night! None of the mentioned ERROR Have a good day! Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); ERROR No Output None of the mentioned Hello World ERROR No Output None of the mentioned Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? fold() file() get_file() glob() fold() file() get_file() glob() 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(); My favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error 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"); 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 Time to live king size ANSWER DOWNLOAD EXAMIANS APP