PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 59 108 58 109 59 108 58 109 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0 && ++$i) {print $i;} 555555555…infinitely error 54321 5 555555555…infinitely error 54321 5 ANSWER DOWNLOAD EXAMIANS APP
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"; 15 1 $z 8 15 1 $z 8 ANSWER DOWNLOAD EXAMIANS APP
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 ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 437 347 439 349 437 347 439 349 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;} no output 0 2 1 no output 0 2 1 ANSWER DOWNLOAD EXAMIANS APP