PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Thiswasabadidea Error This was a bad idea This, was, a, bad, idea Thiswasabadidea Error 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 ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111213 11111212 11121213 11111112 11111213 11111212 11121213 11111112 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";echo "$color1" + "$color2"; 1 0 red 1 red1 1 0 red 1 red1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use: is_num() is_number() is_numeric() if_numeric is_num() is_number() is_numeric() if_numeric ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; Error 3.5 1.75 0.875 Error 3.5 1.75 0.875 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 1 Yes 2 Yes 1 No 2 No 1 Yes 2 Yes 1 No 2 ANSWER DOWNLOAD EXAMIANS APP