PHP Operators and Expressions What will be the output of the following PHP code ?echo "This", "was", "a", "bad", "idea"; Thiswasabadidea This, was, a, bad, idea This was a bad idea Error Thiswasabadidea This, was, a, bad, idea This was a bad idea Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;$z = "$x + $y";echo "$z"; $x + $y $z 10 + 5 15 $x + $y $z 10 + 5 15 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); 349 43 439 943 349 43 439 943 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 error result is 1 result is true no output error result is 1 result is true 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 red green redgreen red green red green redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "one";print($one == $two); 1 error true false 1 error true false ANSWER DOWNLOAD EXAMIANS APP