Installing PHP 7.1 with intl on macOS High Sierra

Brew updated the latest 7.1 to include intl in the binary: 

$ brew reinstall php@7.1
echo ‘export PATH=”/usr/local/opt/php@7.1/bin:$PATH”‘ >> ~/.zshrc
echo ‘export PATH=”/usr/local/opt/php@7.1/sbin:$PATH”‘ >> ~/.zshrc
export LDFLAGS=”-L/usr/local/opt/php@7.1/lib”
export CPPFLAGS=”-I/usr/local/opt/php@7.1/include”
brew services start php@7.1