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 value I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value ERROR I have a value I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; 0 Error 1 0.5 0 Error 1 0.5 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 1 No 2 Yes 2 No 1 Yes 1 No 2 Yes 2 No 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} no output error 01234567891011121314…infinitely 1234567891011121314….infinitely no output error 01234567891011121314…infinitely 1234567891011121314….infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; 1 0 $one Error 1 0 $one 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;} no output 3 1 2 no output 3 1 2 ANSWER DOWNLOAD EXAMIANS APP