PHP 7 Upgrade
https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63
1)
brew update && brew upgrade
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew unlink php56
brew install php70
You might get an error if PHP 5.6 has not been installed by brew previously, but don't worry, you can simply continue
2) # for PHP 7.1:
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1
3) Test PHP version
php -v
4) If PHP 7 doesnt show type:
export PATH=/usr/local/php5/bin:$PATH