PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; $z 15 8 1 $z 15 8 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3.5, -3.5 2, -2 2.5, -2 3, -3 3.5, -3.5 2, -2 2.5, -2 3, -3 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"); No 1 Yes 1 Yes 2 No 2 No 1 Yes 1 Yes 2 No 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error $color red red Error $color red red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; error 4 5 3 error 4 5 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1 + ++5;echo $var1; no output error 6 7 no output error 6 7 ANSWER DOWNLOAD EXAMIANS APP