PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3, -3 3.5, -3.5 2.5, -2 2, -2 3, -3 3.5, -3.5 2.5, -2 2, -2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; This was a bad idea This, was, a, bad, idea Thiswasabadidea Error This was a bad idea This, was, a, bad, idea Thiswasabadidea Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Hello world echo “Hello world” echo Hello world Error Hello world echo “Hello world” echo Hello world Error 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 5 Error 15 10 5 Error 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; no output myObject::CONSTANT error test no output myObject::CONSTANT error test ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} 1 no output 2 0 1 no output 2 0 ANSWER DOWNLOAD EXAMIANS APP