PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 5 10 15 Error 5 10 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0 && ++$i) {print $i;} error 5 54321 555555555…infinitely error 5 54321 555555555…infinitely 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__; PHP is a scripting language __LINE__ ERROR 2 PHP is a scripting language __LINE__ ERROR 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; error qwe{$a}rty qwe12345rty no output error qwe{$a}rty qwe12345rty no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Missing semicolon error Hello World Error Nothing Missing semicolon error Hello World Error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 2 No 2 Yes 1 No 1 Yes 2 No 2 Yes 1 No 1 ANSWER DOWNLOAD EXAMIANS APP