PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 2 error 0 192 2 error 0 192 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true0 0 20 true20 true0 0 20 true20 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; ERROR PHP is a scripting language __LINE__ 2 ERROR PHP is a scripting language __LINE__ 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 510 Error 105 0 510 Error 105 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Error Hello world Hello world in italics Nothing Error Hello world Hello world in italics Nothing 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'];$GLOBALS['x']++;}fun();fun();fun(); 123 Error 012 000 123 Error 012 000 ANSWER DOWNLOAD EXAMIANS APP