up to 2.6.28, adds PHP 5.5 compatibility