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";} no output error result is 1 result is true no output error result is 1 result is true 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"; hihello infinite loop error hello hihello infinite loop error hello 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"; hello hihello error infinite loop hello hihello error infinite loop 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 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite error no output 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite 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;} 555555555…infinitely error 54321 5 555555555…infinitely error 54321 5 ANSWER DOWNLOAD EXAMIANS APP