PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; redgreen green red green red redgreen green red green red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In PHP the integer 45 is stored exactly as 45. The floating point number 46.3 could be stored as. 46 46.2999999 46.3 none of above 46 46.2999999 46.3 none of above ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$four4 = 4;$three3 = 3;$two2 = 2;echo $four4 + $three3 / $two2 - 1; 7 Error 4.5 3.5 7 Error 4.5 3.5 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;} 0 2 1 no output 0 2 1 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; This, was, a, bad, idea This was a bad idea Error Thiswasabadidea This, was, a, bad, idea This was a bad idea Error Thiswasabadidea 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 valueI have a value 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 ANSWER DOWNLOAD EXAMIANS APP