PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.3;$y = 2;echo $x % $y; 1 2 0 Error 1 2 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 1;$b = 1;$d = 1;print ++$a + ++$a+$a++;print $a++ + ++$b;print ++$d + $d++ + $a++; 368 error 742 869 368 error 742 869 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} infinite loop 210 no output 10 infinite loop 210 no output 10 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() is_number() if_numeric is_num() is_numeric() is_number() if_numeric ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); Error 000 012 123 Error 000 012 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1 + ++5;echo $var1; no output 6 error 7 no output 6 error 7 ANSWER DOWNLOAD EXAMIANS APP