PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.3;$y = 2;echo $x % $y; 0 1 2 Error 0 1 2 Error 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;} 555555555…infinitely 54321 5 error 555555555…infinitely 54321 5 error 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: if_numeric is_numeric() is_num() is_number() if_numeric is_numeric() is_num() is_number() ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; 0.5 1 0 Error 0.5 1 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 109 59 58 108 109 59 58 108 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true20 true0 20 0 true20 true0 20 0 ANSWER DOWNLOAD EXAMIANS APP