PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Missing semicolon error Error Nothing Hello World Missing semicolon error Error Nothing Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$b = 1;$c = 4;$a = 5;$d = $b + $c == $a;print $d; 0 10 1 5 0 10 1 5 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 Yes 1 No 1 Yes 2 No 2 Yes 1 No 1 Yes 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; red red green green error red red green green 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;} 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 ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} no output 2 1 0 no output 2 1 0 ANSWER DOWNLOAD EXAMIANS APP