Posts by Marcelo Costa • 33 points
1 post
-
2
votes2
answers74
viewsQ: Differences of boolean return
I came across the following example: $umidade = 91; $vai_chover = ($umidade > 90); if ($vai_chover) { echo "vai chover"; } To $vai_chover returns a boolean in if, but I found too much code to do…