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 : Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); Hello world! No Output 111 o world! Hello world! No Output 111 o world! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I love my country I Love My Country i love my Country I love my Country I love my country I Love My Country i love my Country I love my Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = addslashes('What does "yolo" mean?');echo($str); What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); None of the Mentioned 10 Error No Output None of the Mentioned 10 Error No Output 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