PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3.5, -3.5 2.5, -2 2, -2 3, -3 3.5, -3.5 2.5, -2 2, -2 3, -3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Error BMW Volvo Toyota Error BMW Volvo Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; grey red1grey 0 1grey grey red1grey 0 1grey ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 12;--$a;echo $a++; 10 12 error 11 10 12 error 11 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;} no output 3 2 1 no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); 123 Nothing 012 Error 123 Nothing 012 Error ANSWER DOWNLOAD EXAMIANS APP