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 Sum 1 Error 49 Sum 1 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(); None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code 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(); Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const, I am awesome!! “const”,”I am awesome!” const I am awesome!! const, I am awesome!! “const”,”I am awesome!” const I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); -0.5 1 0.5 0 -0.5 1 0.5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); Welcome to my India welcome to my India Welcome to my india welcome to my india Welcome to my India welcome to my India Welcome to my india welcome to my india ANSWER DOWNLOAD EXAMIANS APP