PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; red green red green error red green red green error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $x-- != ++$x; 0 error 1 no output 0 error 1 no output ANSWER DOWNLOAD EXAMIANS APP
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"); No 2 No 1 Yes 1 Yes 2 No 2 No 1 Yes 1 Yes 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 0 error 2 192 0 error 2 192 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;} 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 ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; green red green redgreen red green red green redgreen red ANSWER DOWNLOAD EXAMIANS APP