PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; myObject::CONSTANT error test no output myObject::CONSTANT error test no output 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
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; 5.67 5.666667 2 none of above 5.67 5.666667 2 none of above ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (**$y == 4) {echo $y;} error at line2 2 4 no output error at line2 2 4 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 8 = 4 + 3 +1 8 4 = 4 + 3 + 1 Error 8 = 4 + 3 +1 8 4 = 4 + 3 + 1 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error red $color red Error red $color red ANSWER DOWNLOAD EXAMIANS APP