Bcrypt problem using cryptography if server runs on php version 7

Hello all,
i am using cryctography BCRYPT in my app.
it us generating “$2a” hash.
but my PHP server runs on version 7, so my website is creating “$2y”.
id i am trying to validate password in app, it returns false.
is there any way i can generate “$2y” hash in the app??

There is some bug