Use hash_equals for constant-time string comparison
Merge branch 'feature/#6621-use-hash-equals-if-available-in-php-5.6' into develop

Close #6621