PHP Operators and Expressions What will be the output of the following PHP code ?$one = 1;print($one);print $one; 10 11 01 Error 10 11 01 Error 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"; 105 510 Error 0 105 510 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;} 54321 555555555…infinitely 5 error 54321 555555555…infinitely 5 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} no output error 1234567891011121314….infinitely 01234567891011121314…infinitely no output error 1234567891011121314….infinitely 01234567891011121314…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Nothing Error True 0 Nothing Error True 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 10;$y = 4;$z = 3;echo $x % $y % $z; Error 2 1 0 Error 2 1 0 ANSWER DOWNLOAD EXAMIANS APP