PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "c" returns "f" returns "cd" returns "d" returns "c" returns "f" returns "cd" 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 Returned value from the function : 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned 5 $num 3 None of the mentioned 5 $num 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const I am awesome!! “const”,”I am awesome!” const, I am awesome!! const I am awesome!! “const”,”I am awesome!” const, I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); this works this too works this worksthis too works error this works this works this too works this worksthis too works error this works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Objects None of above Both A & B Arrays Objects None of above Both A & B Arrays ANSWER DOWNLOAD EXAMIANS APP