PHP Operators and Expressions What will be the output of the following PHP code ?$four4 = 4;$three3 = 3;$two2 = 2;echo $four4 + $three3 / $two2 - 1; Error 7 3.5 4.5 Error 7 3.5 4.5 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 7 Error 0 9 7 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = 1;print($one);print $one; 10 01 11 Error 10 01 11 Error 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); 439 943 349 43 439 943 349 43 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 error 4hello4hello4hello4hello4hello…..infinite no output 5hello5hello5hello5hello5hello…..infinite error 4hello4hello4hello4hello4hello…..infinite no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; 0 1 $one Error 0 1 $one Error ANSWER DOWNLOAD EXAMIANS APP