PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = red;$color2 = green;echo "$color1"."$color2"; red error green red green red error green red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 58 108 59 109 58 108 59 109 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; Error My car is a Toyota My car is a Volvo My car is a BMW Error My car is a Toyota My car is a Volvo My car is a BMW ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions If you do something to an integer that makes it larger than the maximum allowable integer or smaller than the minimum possible integer, the PHP interpreter converts the result into a . . . . . String Floating point number Integers None of above String Floating point number Integers None of above ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; red red Error $color red red Error $color ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); error thiswasabadidea nothing this was a bad idea error thiswasabadidea nothing this was a bad idea ANSWER DOWNLOAD EXAMIANS APP