PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 1 No 1 Yes 2 No 2 Yes 1 No 1 Yes 2 No 2 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;} 01234567891011121314…infinitely error no output 1234567891011121314….infinitely 01234567891011121314…infinitely error no output 1234567891011121314….infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '4';print + + $a; 0 no output 5 error 0 no output 5 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; redgreen red green red green redgreen red green red green 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 1 0 3 2 1 0 3 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;} -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 error no output 00000000000000000000….infinitely ANSWER DOWNLOAD EXAMIANS APP