summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMalcolm Fell <malcolm@vendhq.com>2013-06-28 08:57:52 +1200
committerMalcolm Fell <malcolm@vendhq.com>2013-06-28 08:57:52 +1200
commitc5fca52d14fad914a65cdb66c51dfa9e33f3b8b8 (patch)
treedddcf1eb082fd6a6a4b6a5deeaa863942df0389f
parentc3cc11f2a81411acf5e500285836c8f7744546e1 (diff)
Make if statement result clearer
-rw-r--r--php.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/php.html.markdown b/php.html.markdown
index d08b9220..a9604df3 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -190,9 +190,9 @@ if (/* test */) {
}
<?php if (/* test */): ?>
-<!-- Do something that isn't PHP -->
+This is displayed if the test is truthy.
<?php else: ?>
-<!-- Do something default -->
+This is displayed otherwise.
<?php endif; ?>
```