summaryrefslogtreecommitdiffstats
path: root/system/helpers/number_helper.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-07-04 13:45:46 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-07-04 13:45:46 +0200
commit4d1a214836fc16bbecd5afd11060a56bc2859b7d (patch)
tree4a13ad456ab6bdd96c73c70359ebd8fc9ab6c7a9 /system/helpers/number_helper.php
parent179ffc893067bf0f2bf2cf0a55a843549020e28f (diff)
Having `"0"` in an array would give you NULL with `elements()`. BAD!
The trouble here, is that when we are expecting a valid result, such as `0`, or `false` that the array helper will instead say "I don't know if there is a value" and give you a `null`.
Diffstat (limited to 'system/helpers/number_helper.php')
0 files changed, 0 insertions, 0 deletions