PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.3;$y = 2;echo $x % $y; 0 2 1 Error 0 2 1 Error 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 439 347 349 437 439 347 349 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely error no output 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely error no output 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"; redgreen 1 0 red green redgreen 1 0 red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "two";print($one$two); error nothing one onetwo error nothing one onetwo ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 15 10 5 Error 15 10 5 ANSWER DOWNLOAD EXAMIANS APP