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"; 8 = 4 + 3 +1 8 4 = 4 + 3 + 1 Error 8 = 4 + 3 +1 8 4 = 4 + 3 + 1 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; 8 $z 1 15 8 $z 1 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 192 2 error 0 192 2 error 0 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";} 5hello5hello5hello5hello5hello…..infinite no output error 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite no output error 4hello4hello4hello4hello4hello…..infinite 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 2 no output 3 1 2 no output 3 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 123 012 000 111 123 012 000 ANSWER DOWNLOAD EXAMIANS APP