PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; $one$two Error Hello HelloWorld $one$two Error Hello HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; red1grey grey 1grey 0 red1grey grey 1grey 0 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); 9 0 Error 7 9 0 Error 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); this was a bad idea error thiswasabadidea nothing this was a bad idea error thiswasabadidea nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); No 1 No 2 Yes 1 Yes 2 No 1 No 2 Yes 1 Yes 2 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 false true 1 error false true ANSWER DOWNLOAD EXAMIANS APP