The latest version of brew can not install php71 how to break?

how can php71 be broken if the latest version of brew cannot be installed?

Php
Feb.28,2021

the latest brew has changed the package name of php7.1

php71  -> php@7.1 

try

brew install php@7.1

brew upgrade php@7.1

the latest version has removed the php71.
you can check it by brew search php. If it is not found, execute the following command

  1. brew tap exolnet/homebrew-deprecated
  2. brew install php@7.1
Menu