PHP Operators and Expressions What will be the output of the following PHP code ?echo $x-- != ++$x; no output 1 0 error no output 1 0 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; red1grey 1grey 0 grey red1grey 1grey 0 grey 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;} 1234567891011121314….infinitely 01234567891011121314…infinitely no output error 1234567891011121314….infinitely 01234567891011121314…infinitely no output error 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; 15 06 16 05 15 06 16 05 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 5 15 10 Error 5 15 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";echo "$color";echo "$COLOR";echo "$Color"; redredred red Error redred redredred red Error redred ANSWER DOWNLOAD EXAMIANS APP