PHP Operators and Expressions What will be the output of the following PHP code ?$one = 1;print($one);print $one; Error 11 10 01 Error 11 10 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a;print $a; 06 05 15 16 06 05 15 16 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 BMW My car is a Toyota My car is a Volvo Error My car is a BMW My car is a Toyota My car is a Volvo Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; GREETING PHP is a scripting language $GREETING no output GREETING PHP is a scripting language $GREETING no output 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;} 1234567891011121314….infinitely no output 01234567891011121314…infinitely error 1234567891011121314….infinitely no output 01234567891011121314…infinitely error 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"; red1 0 1 red 1 red1 0 1 red 1 ANSWER DOWNLOAD EXAMIANS APP