PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){echo "$x";}fun(); Error 5 0 Nothing Error 5 0 Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} no output error -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely no output error -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely 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); error false true 1 error false true 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; 0.5 1 0 Error 0.5 1 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 20 0 true20 true0 20 0 true20 true0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; 0 Error Nothing True 0 Error Nothing True ANSWER DOWNLOAD EXAMIANS APP