PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 000 123 012 111 000 123 012 111 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 104 1400 4100 410 104 1400 4100 410 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error red red $color Error red red $color ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';print "qwe{$a}rty"; no output qwe12345rty qwe{$a}rty error no output qwe12345rty qwe{$a}rty error 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; 0 true20 20 true0 0 true20 20 true0 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";} error 4hello4hello4hello4hello4hello…..infinite no output 5hello5hello5hello5hello5hello…..infinite error 4hello4hello4hello4hello4hello…..infinite no output 5hello5hello5hello5hello5hello…..infinite ANSWER DOWNLOAD EXAMIANS APP