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" Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hello World ia Hilla Warld eo Hello World ia Hilla Warld eo 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();TV("Sherlock"); 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 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 my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code 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); 1 Sum Error 49 1 Sum Error 49 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 Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value Error Returned value from the function : 30 Returned value from the function : Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP