Discussion Forum : Php Operators And Expressions
Question - What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";}
Options:
A .  result is 1
B .  error
C .  no output
D .  result is true
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *