PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111112 11111213 11121213 11111212 11111112 11111213 11121213 11111212 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; 2 PHP is a scripting language ERROR __LINE__ 2 PHP is a scripting language ERROR __LINE__ ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "one";print($one == $two); true false error 1 true false error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; 1.25 0.75 0.05 Error 1.25 0.75 0.05 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; 1grey 0 grey red1grey 1grey 0 grey red1grey 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]}"; My car is a Volvo Error My car is a BMW My car is a Toyota My car is a Volvo Error My car is a BMW My car is a Toyota ANSWER DOWNLOAD EXAMIANS APP