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 ?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 What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; error hello infinite loop hihello error hello infinite loop hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 2 3 0 1 2 3 0 1 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 = 3, $y = 4) {$z = $x+$y/$y+$x;echo "$z";}echo $x;echo $y;echo $z;fun($x, $y); 943 349 439 43 943 349 439 43 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; 0 Error 1 $one 0 Error 1 $one ANSWER DOWNLOAD EXAMIANS APP