PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 02 12 21 01 02 12 21 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3, 4, 5, 6;echo "$x"; 4 6 3 Error 4 6 3 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP will automatically convert strings to numbers when it needs to. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Error Thiswasabadidea This was a bad idea This, was, a, bad, idea Error Thiswasabadidea This was a bad idea This, was, a, bad, idea 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"); Yes 2 Yes 1 No 1 No 2 Yes 2 Yes 1 No 1 No 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error $color red red Error $color red red ANSWER DOWNLOAD EXAMIANS APP