PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){echo "$x";}fun(); Nothing Error 5 0 Nothing Error 5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";} 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite no output error 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite no output 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"; 10 + 5 $z 15 $x + $y 10 + 5 $z 15 $x + $y ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo 5 * 9 / 3 + 9; 3.85 3.7 0 24 3.85 3.7 0 24 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"; 1grey grey red1grey 0 1grey grey red1grey 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; no output error qwe{$a}rty qwe12345rty no output error qwe{$a}rty qwe12345rty ANSWER DOWNLOAD EXAMIANS APP