PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 5 6 error 7 5 6 error 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("VAR_NAME","test");${VAR_NAME} = "value";echo VAR_NAME;echo ${VAR_NAME}; error, constant value cannot be changed testvalue test testtest error, constant value cannot be changed testvalue test testtest ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?# echo "Hello world";echo "# Hello world"; Hello world Hello world# Hello world # Hello world Error Hello world Hello world# Hello world # Hello world Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111112 11121213 11111212 11111213 11111112 11121213 11111212 11111213 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Hello World Error Nothing Missing semicolon error Hello World Error Nothing Missing semicolon error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} error no output 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely error no output 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely ANSWER DOWNLOAD EXAMIANS APP