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 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 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); You Do Not Talk About Fight Club I None of the mentioned You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club I None of the mentioned You Do Not Talk About Pulp Fiction 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(); Error HelloWorld No Output sayHello Error HelloWorld No Output sayHello ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right Always right to left right to left sometimes left to right and sometimes right to left left to right Always right to left right to left sometimes left to right and sometimes right to left ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); @examians.com contact contact@examians.com examians.com @examians.com contact contact@examians.com examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); Welcome to India welcome to india welcome to India Welcome to india Welcome to India welcome to india welcome to India Welcome to india ANSWER DOWNLOAD EXAMIANS APP