PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 1 2 0 no output 1 2 0 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; Error 4 = 4 + 3 + 1 8 = 4 + 3 +1 8 Error 4 = 4 + 3 + 1 8 = 4 + 3 +1 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a;print $a; 06 15 16 05 06 15 16 05 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";echo "$color";echo "$COLOR";echo "$Color"; red Error redredred redred red Error redredred redred ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = "test";$y = "this";$z = "also";$x .= $y .= $z ;echo $x;echo $y; testthisthisalso error at line 4 testthisalsothisalso testthis testthisthisalso error at line 4 testthisalsothisalso testthis ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); nothing error this was a bad idea thiswasabadidea nothing error this was a bad idea thiswasabadidea ANSWER DOWNLOAD EXAMIANS APP