<?php
$a=true;
if($a){
echo'rich';
echo'buy snacks';
}
else{
echo'no money';
echo'can't afford it';
?>
Then the second one is FALSE,
You can add another if ($a=false) {echo '!!!!1'} to the if to see the result
Then the second one is FALSE,
You can add another if ($a=false) {echo '!!!!1'} to the if to see the result