Issue #3: Adds compatibility with PHP versions prior to 5.3.3