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 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 1 no output 3 2 1 no output 3 2 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; testthisalsothisalso error at line 4 testthis testthisthisalso testthisalsothisalso error at line 4 testthis testthisthisalso ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 510 error 1010 105 510 error 1010 105 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 ?echo "echo "Hello World""; Hello world echo Hello world echo “Hello world” Error Hello world echo Hello world echo “Hello world” Error ANSWER DOWNLOAD EXAMIANS APP