PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely no output error 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; 2 __LINE__ PHP is a scripting language ERROR 2 __LINE__ PHP is a scripting language 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 1234567891011121314….infinitely 01234567891011121314…infinitely error no output 1234567891011121314….infinitely 01234567891011121314…infinitely 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: is_num() is_number() if_numeric is_numeric() is_num() is_number() if_numeric is_numeric() ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "two";print($one$two); one onetwo error nothing one onetwo error nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 8 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error 8 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error ANSWER DOWNLOAD EXAMIANS APP