PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 2 0 1 no output 2 0 1 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} result is 1 error no output result is true result is 1 error no output result is true 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; testthis error at line 4 testthisalsothisalso testthisthisalso testthis error at line 4 testthisalsothisalso testthisthisalso ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$b = 1;$c = 4;$a = 5;$d = $b + $c == $a;print $d; 1 5 0 10 1 5 0 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); -5 51 -4 41 -5 51 -4 41 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; red red red error nothing red red red error nothing ANSWER DOWNLOAD EXAMIANS APP