PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 6 7 error 5 6 7 error 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';print "qwe{$a}rty"; qwe{$a}rty qwe12345rty error no output qwe{$a}rty qwe12345rty error 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"; Thiswasabadidea This, was, a, bad, idea This was a bad idea Error Thiswasabadidea This, was, a, bad, idea This was a bad idea Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";echo "$color1" + "$color2"; 0 red1 1 red 1 0 red1 1 red 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (**$y == 4) {echo $y;} 4 error at line2 no output 2 4 error at line2 no output 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} 10 210 infinite loop no output 10 210 infinite loop no output ANSWER DOWNLOAD EXAMIANS APP