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 test myObject::CONSTANT error no output test myObject::CONSTANT error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 1;$b = 1;$d = 1;print ++$a + ++$a+$a++;print $a++ + ++$b;print ++$d + $d++ + $a++; 368 742 869 error 368 742 869 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; $GREETING no output PHP is a scripting language GREETING $GREETING no output PHP is a scripting language GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 2 0 no output 1 2 0 no output 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 192 2 error 0 192 2 error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; infinite loop hello error hihello infinite loop hello error hihello ANSWER DOWNLOAD EXAMIANS APP