PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 0 20 true0 true20 0 20 true0 true20 ANSWER DOWNLOAD EXAMIANS APP
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 valueNEW_GOO_NAME_CONSTANTS ERROR I have a value I have a valueI have a value I have a valueNEW_GOO_NAME_CONSTANTS ERROR I have a value I have a valueI have a value ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1 + ++5;echo $var1; 7 no output error 6 7 no output error 6 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; Error 1.25 0.75 0.05 Error 1.25 0.75 0.05 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 0;function fun() {echo $GLOBALS['x'];$x++;}fun();fun();fun(); Error 000 Nothing 012 Error 000 Nothing 012 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"; 510 1010 105 error 510 1010 105 error ANSWER DOWNLOAD EXAMIANS APP