What will be the output of the following PHP code ?
<?php $auth = 1; $status = 1; if ($result = (($auth == 1) && ($status != 0))) { print "result is $result<br />"; } ?>
(b).result is 1
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(b).result is 1
need an explanation for this answer? contact us directly to get an explanation for this answer