PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; -4.25 4.25 3.25 -3.25 -4.25 4.25 3.25 -3.25 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; 0 $one 1 Error 0 $one 1 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} no output result is true result is 1 error no output result is true result is 1 error 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; 104 4100 410 1400 104 4100 410 1400 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"; red green error red green red green error red green 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; test no output error myObject::CONSTANT test no output error myObject::CONSTANT ANSWER DOWNLOAD EXAMIANS APP