Make sure Tonesque works with PHP 5.2 also

This changes intend to make sure Tonesque also work in PHP 5.2 enviroment.