PHP Operators and Expressions What will be the output of the following PHP code ?$four4 = 4;$three3 = 3;$two2 = 2;echo $four4 + $three3 / $two2 - 1; 4.5 3.5 7 Error 4.5 3.5 7 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 111 000 123 012 111 000 123 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 20 true20 0 true0 20 true20 0 true0 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 ?$x = 5;{$x = 10;echo "$x";}echo "$x"; error 105 1010 510 error 105 1010 510 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP will automatically convert strings to numbers when it needs to. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP