HeLlo, everyone

I want to know your opinion on using php's password_hash() function,
Like how secure is it? When it comes to rainbow attacks and other forms of attacks
What hash algorithm would you recommend to encypt passwords? Moreso which is beTter? PbkDF2 or Bcrypt.

Thank you