PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} no output 2 1 3 no output 2 1 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Thiswasabadidea Error This was a bad idea This, was, a, bad, idea Thiswasabadidea Error This was a bad idea This, was, a, bad, idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP will automatically convert strings to numbers when it needs to. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun($x,$y) {$x = 4;$y = 3;$z = $x + $y / $y + $x;echo "$z";}fun(3, 4); 7 Error 9 0 7 Error 9 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; no output GREETING $GREETING PHP is a scripting language no output GREETING $GREETING PHP is a scripting language ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 1;$y = 2;if (++$x == $y++) {echo "true ", $y, $x;} true 23 no output true 33 true 22 true 23 no output true 33 true 22 ANSWER DOWNLOAD EXAMIANS APP