It is advised to use a wonderful drupal_helpers module authored by Nick Santamaria, Alex Skrypnyk and other contributors. Please try to utilise this module as much as possible instead of using own custom solutions.
drupal_helpers has tests that makes it very stable.
Please refer to RFC2119 for meaning of words
All donations are forwarded to Drupal Association.