PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} result is true result is 1 error no output result is true result is 1 error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; infinite loop hihello hello error infinite loop hihello hello error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; error hello infinite loop hihello error hello infinite loop hihello 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 ?$i = 5;while (--$i > 0 && ++$i) {print $i;} 54321 error 555555555…infinitely 5 54321 error 555555555…infinitely 5 ANSWER DOWNLOAD EXAMIANS APP