PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3, -3 2.5, -2 2, -2 3.5, -3.5 3, -3 2.5, -2 2, -2 3.5, -3.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; error 3 4 5 error 3 4 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$y = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; 10 Error 5 15 10 Error 5 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Nothing Error Hello world Hello Nothing Error Hello world Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';print "qwe{$a}rty"; error qwe{$a}rty no output qwe12345rty error qwe{$a}rty no output qwe12345rty ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 01 21 12 02 01 21 12 02 ANSWER DOWNLOAD EXAMIANS APP