PHP Operators and Expressions What will be the output of the following PHP code ?echo $x-- != ++$x; no output 0 error 1 no output 0 error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 6 5 error 7 6 5 error 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1;echo $var1 = ++$var1 % 2 + ++$var1; 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 == 4) {echo $y;} 4 error at line2 2 no output 4 error at line2 2 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use: is_num() is_numeric() if_numeric is_number() is_num() is_numeric() if_numeric is_number() 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(); Nothing 012 Error 123 Nothing 012 Error 123 ANSWER DOWNLOAD EXAMIANS APP