PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); None of the mentioned You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction I None of the mentioned You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction I 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 What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Will this work Error $msg 0 Will this work Error $msg 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World World HelloWorld Hell 0 Wo rld Hello World World HelloWorld Hell 0 Wo rld 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"); error helloblablablabla hello helloblabla error helloblablablabla hello helloblabla ANSWER DOWNLOAD EXAMIANS APP