PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; Hello Error $one$two HelloWorld Hello Error $one$two HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 1010 error 510 105 1010 error 510 105 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 437 349 439 347 437 349 439 347 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; no output myObject::CONSTANT error test no output myObject::CONSTANT error test ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "red";echo "$color1" + "$color2"; red green redgreen 1 0 red green redgreen 1 0 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 BMW My car is a Volvo My car is a Toyota Error My car is a BMW My car is a Volvo My car is a Toyota ANSWER DOWNLOAD EXAMIANS APP