PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; 0 1grey red1grey grey 0 1grey red1grey grey ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 0;if ($i && ($j = $i + 10)) {echo "true";}echo $j; 10 true10 true0 0 10 true10 true0 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x;echo "$x"; 1 Nothing Error 0 1 Nothing Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; PHP is a scripting language __LINE__ 2 ERROR PHP is a scripting language __LINE__ 2 ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions If you do something to an integer that makes it larger than the maximum allowable integer or smaller than the minimum possible integer, the PHP interpreter converts the result into a . . . . . Floating point number Integers None of above String Floating point number Integers None of above String ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun($x,$y) {$x = 4;$y = 3;$z = $x + $y / $y + $x;echo "$z";}fun(3, 4); 7 0 Error 9 7 0 Error 9 ANSWER DOWNLOAD EXAMIANS APP