PHP Operators and Expressions What will be the output of the following PHP code ?define("NEW_GOOD_NAME_CONSTANT", "I have a value");define("OLD_BAD_NAME_CONSTANT", NEW_GOOD_NAME_CONSTANT);echo NEW_GOOD_NAME_CONSTANT;echo OLD_BAD_NAME_CONSTANT; I have a valueI have a value I have a value I have a valueNEW_GOO_NAME_CONSTANTS ERROR I have a valueI have a value I have a value I have a valueNEW_GOO_NAME_CONSTANTS ERROR 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 ?$a = "$winner";$b = "$looser";echo $a, $b; \ $looser $looser $winner$looser \ $looser $looser $winner$looser ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} no output error 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely no output error 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a;print $a; 05 16 06 15 05 16 06 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.3;$y = 2;echo $x % $y; 1 2 Error 0 1 2 Error 0 ANSWER DOWNLOAD EXAMIANS APP