Merge pull request #3 from anezi/php-version

Support recent versions of PHP and remove the dead version 5.2