fix PHP_VERSION comparison operator
Merge branch 'hotfix/4851'

Close #4851
Merge pull request #4877 from stefanotorresi/fix/validator-file-tests

Validator\File tests throwing errors in custom PHP 5.3.10 distributions
Merge branch 'hotfix/4877' into develop

Forward port #4877