PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 123 000 012 111 123 000 012 111 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 ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; 0.75 1.25 Error 0.05 0.75 1.25 Error 0.05 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.3;$y = 2;echo $x % $y; 0 Error 1 2 0 Error 1 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP can automatically convert integers to floating point numbers and floating point numbers to integers. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";} no output 4hello4hello4hello4hello4hello…..infinite error 5hello5hello5hello5hello5hello…..infinite no output 4hello4hello4hello4hello4hello…..infinite error 5hello5hello5hello5hello5hello…..infinite ANSWER DOWNLOAD EXAMIANS APP