PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; 3.25 -4.25 4.25 -3.25 3.25 -4.25 4.25 -3.25 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '4';print + + $a; no output 5 0 error no output 5 0 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; GREETING $GREETING PHP is a scripting language no output GREETING $GREETING PHP is a scripting language no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = red;$color2 = green;echo "$color1"."$color2"; green red green error red green red green error red ANSWER DOWNLOAD EXAMIANS APP
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; true0 0 true20 20 true0 0 true20 20 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; hihello infinite loop error hello hihello infinite loop error hello ANSWER DOWNLOAD EXAMIANS APP