# Switch from 8.1 to 7.4
brew unlink php@8.1
brew link php@7.4 --force
brew install php@5.6
brew install php@7.0
brew install php@7.1
brew install php@7.2
brew install php@7.3
brew install php@7.4
# Switch from 7.4 to 5.6
brew unlink php@7.4
brew link php@5.6 --force