PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3, 4, 5, 6;echo "$x"; 3 4 6 Error 3 4 6 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} -1-1-1-1-1-1-1-1-1-1…infinitely no output error 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely no output error 00000000000000000000….infinitely 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; 1400 104 410 4100 1400 104 410 4100 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 2 3 0 1 2 3 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 2 1 no output 0 2 1 no output 0 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; error at line 4 testthis testthisthisalso testthisalsothisalso error at line 4 testthis testthisthisalso testthisalsothisalso ANSWER DOWNLOAD EXAMIANS APP