1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-11 01:04:11 +02:00

Continuing transition to hugo

This commit is contained in:
Andrew Davis
2019-07-13 08:48:55 -05:00
parent e09557cf2c
commit 2ae912aada
36 changed files with 224 additions and 401 deletions

View File

@@ -1,3 +1,11 @@
+++
title = "Comparisons"
description = "Equality checking"
tags = ["php", "comparisons"]
slug = "comparisons"
previous = "strings.html"
next = "boolean-logic.html"
+++
A boolean is a value that is always 0 or 1, yes or no, on or off.
In PHP, a boolean is represented by the words true and false.
While programming, you will often want to know if something is positive or negative.