PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() None of the mentioned 3 and 4 Only 2 All of the mentioned None of the mentioned 3 and 4 Only 2 All of the mentioned 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
PHP Functions Which one of the following PHP functions can be used to find files? file() get_file() glob() fold() file() get_file() glob() fold() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 5.3 PHP 4 PHP 6 PHP 5 PHP 5.3 PHP 4 PHP 6 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblabla helloblablablabla hello error helloblabla helloblablablabla hello error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblabla Error helloblablablabla hello helloblabla Error helloblablablabla ANSWER DOWNLOAD EXAMIANS APP