PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; Error 0 42 84 Error 0 42 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); Error None of the Mentioned 10 No Output Error None of the Mentioned 10 No Output 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 worksthis too works this works this too works this works error this worksthis too works this works this too works this works error 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"); 3 8 10 7 3 8 10 7 ANSWER DOWNLOAD EXAMIANS APP
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 Pulp Fiction I You Do Not Talk About Fight Club None of the mentioned You Do Not Talk About Pulp Fiction I You Do Not Talk About Fight Club ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” Hello you! How are you today? GREETING GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” Hello you! How are you today? GREETING ANSWER DOWNLOAD EXAMIANS APP