Use PHP's abstract features
Merge pull request #3673 from WouterJ/patch-1

Use PHP's abstract features