PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3, -3 2, -2 2.5, -2 3.5, -3.5 3, -3 2, -2 2.5, -2 3.5, -3.5 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); false 1 true error false 1 true error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; redgreen green red red green redgreen green red red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; nothing red red red error nothing red red red error 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; error no output test myObject::CONSTANT error no output test myObject::CONSTANT ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "1";$color2 = "1";echo "$color1" + "$color2"; 1 2 0 11 1 2 0 11 ANSWER DOWNLOAD EXAMIANS APP