PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} 2 0 no output 1 2 0 no output 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 437 347 349 439 437 347 349 439 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; My car is a BMW Error My car is a Volvo My car is a Toyota My car is a BMW Error My car is a Volvo My car is a Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; HelloWorld $one$two Error Hello HelloWorld $one$two Error Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){echo "$x";}fun(); Nothing Error 5 0 Nothing Error 5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 1 3 2 no output 1 3 2 no output ANSWER DOWNLOAD EXAMIANS APP