Check password for correctness with php crypt

I have this password in the database: $pbkdf2-sha256$25000$dsvza5WnPh0eldHhp59PiQ$1YUkXJIl6Ek5keGRauKIPmNiIQZEbqA.nD.bJrhtul0

plaintext password is: testtest

How can I check if the password is correct?

in the past i could do this with:

crypt('testtest', '$pbkdf2-sha256$25000$dsvza5WnPh0eldHhp59PiQ$1YUkXJIl6Ek5keGRauKIPmNiIQZEbqA.nD.bJrhtul0');

but this does not work after a server move, does somebody has any idea?