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."); 2 None of the mentioned 5 4 2 None of the mentioned 5 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}b(); My favourite TV show isI am here to spoil this code I am here to spoil this code None of the mentioned Error My favourite TV show isI am here to spoil this code I am here to spoil this code None of the mentioned Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right Always right to left right to left sometimes left to right and sometimes right to left left to right Always right to left right to left sometimes left to right and sometimes right to left 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 : Returned value from the function : 30 Error Returned value from the function : $return_value Returned value from the function : Returned value from the function : 30 Error Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I Love My Country i love my Country I love my country I love my Country I Love My Country i love my Country I love my country I love my Country 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 error helloblablablabla helloblabla hello error helloblablablabla helloblabla ANSWER DOWNLOAD EXAMIANS APP