PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; PHP is a scripting language ERROR __LINE__ 2 PHP is a scripting language ERROR __LINE__ 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 410 1400 104 4100 410 1400 104 4100 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 2, -2 3, -3 2.5, -2 3.5, -3.5 2, -2 3, -3 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 ?print "echo hello world"; hello world echo hello world nothing error hello world echo hello world nothing error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; 0.875 1.75 Error 3.5 0.875 1.75 Error 3.5 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"; 1 red1 red 1 0 1 red1 red 1 0 ANSWER DOWNLOAD EXAMIANS APP