diff options
author | Malcolm Fell <malcolm@vendhq.com> | 2013-06-28 08:57:52 +1200 |
---|---|---|
committer | Malcolm Fell <malcolm@vendhq.com> | 2013-06-28 08:57:52 +1200 |
commit | c5fca52d14fad914a65cdb66c51dfa9e33f3b8b8 (patch) | |
tree | dddcf1eb082fd6a6a4b6a5deeaa863942df0389f /php.html.markdown | |
parent | c3cc11f2a81411acf5e500285836c8f7744546e1 (diff) |
Make if statement result clearer
Diffstat (limited to 'php.html.markdown')
-rw-r--r-- | php.html.markdown | 4 |
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; ?> ``` |