PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF:42 IF: No output ERROR IF:42 IF: No output ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 1010 510 error 105 1010 510 error 105 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 3 1 2 no output 3 1 2 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; error hello infinite loop hihello error hello infinite loop hihello 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 __LINE__ PHP is a scripting language 2 ERROR __LINE__ PHP is a scripting language 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111112 11111213 11121213 11111212 11111112 11111213 11121213 11111212 ANSWER DOWNLOAD EXAMIANS APP