Re-Implementing the Range Operator in PHP — SitePoint
Thomas Punt revises his previous implementation of the range operator in PHP and improves on it with some much needed extra functionality