Use built-in php constants
Merge branch 'hotfix/3722'

Close #3722
Merge branch 'patch-11' of git://github.com/Slamdunk/zf2 into hotfix/3725
Merge branch 'hotfix/3725' into develop

Forward port #3725