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); 43 349 439 943 43 349 439 943 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error red $color red Error red $color red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); -4 -5 41 51 -4 -5 41 51 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); thiswasabadidea this was a bad idea nothing error thiswasabadidea this was a bad idea nothing error 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";} no output error 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite no output error 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 12;--$a;echo $a++; 11 error 10 12 11 error 10 12 ANSWER DOWNLOAD EXAMIANS APP