PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 7 3 8 10 7 3 8 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); welcome to my india Welcome to my India Welcome to my india welcome to my India welcome to my india Welcome to my India Welcome to my india welcome to my India ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() Only 2 3 and 4 All of the mentioned None of the mentioned Only 2 3 and 4 All of the mentioned None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; Error 42 0 84 Error 42 0 84 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 : 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 : Error 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(); I am awesome!! const, I am awesome!! const “const”,”I am awesome!” I am awesome!! const, I am awesome!! const “const”,”I am awesome!” ANSWER DOWNLOAD EXAMIANS APP