Version 0.9.9 avoiding PHP 5.3 constructs (hopefully)