PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Error echo “Hello world” echo Hello world Hello world Error echo “Hello world” echo Hello world Hello world 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; test error myObject::CONSTANT no output test error myObject::CONSTANT no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; red green green red redgreen red green green red redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 0;function fun() {echo $GLOBALS['x'];$x++;}fun();fun();fun(); Error 012 Nothing 000 Error 012 Nothing 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?# echo "Hello world";echo "# Hello world"; Error Hello world # Hello world Hello world# Hello world Error Hello world # Hello world Hello world# Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 2.5, -2 2, -2 3, -3 3.5, -3.5 2.5, -2 2, -2 3, -3 3.5, -3.5 ANSWER DOWNLOAD EXAMIANS APP