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 ?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 : $return_value Returned value from the function : 30 Error Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Default Argument Value Call By Value Call By Reference Type Hinting Default Argument Value Call By Value Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 4 All listed here Option 1 Option 2 Option 4 All listed here Option 1 Option 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 8 7 3 10 8 7 3 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 3 4 1 2 3 4 1 2 ANSWER DOWNLOAD EXAMIANS APP