Usually you'd want to use a method which prevent timing attacks for this check. Even php provides hash_equals for this usecase.
Usually you'd want to use a method which prevent timing attacks for this check. Even php provides hash_equals for this usecase.