PHP Operators and Expressions What will be the output of the following PHP code ?$a = 12;--$a;echo $a++; error 12 10 11 error 12 10 11 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a;print $a; 15 16 05 06 15 16 05 06 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; Error 105 510 0 Error 105 510 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;} 5 555555555…infinitely 54321 error 5 555555555…infinitely 54321 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); 123 Error Nothing 012 123 Error Nothing 012 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; testthis testthisthisalso testthisalsothisalso error at line 4 testthis testthisthisalso testthisalsothisalso error at line 4 ANSWER DOWNLOAD EXAMIANS APP