PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); 5 $num None of the mentioned 3 5 $num None of the mentioned 3 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 I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction None of the mentioned I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 1 -0.5 0.5 0 1 -0.5 0.5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 0 Error 84 42 0 Error 84 42 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?” GREETING, Hello you! How are you today? GREETING Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); This WorksThis Too Seems To Work ERROR This Works This Too Seems To Work This WorksThis Too Seems To Work ERROR This Works This Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP