PHP Functions The arguments in a function are evaluated from ..... Always right to left left to right right to left sometimes left to right and sometimes right to left Always right to left left to right right to left sometimes left to right and sometimes right to left ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } 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 : $return_value Returned value from the function : Error Returned value from the function : 30 Returned value from the function : $return_value Returned value from the function : 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"); 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 Uppercase Time To Live King Size ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); None of the mentioned 2 4 5 None of the mentioned 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! ANSWER DOWNLOAD EXAMIANS APP