更新
brew update
brew upgrade
安装
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
查看版本
brew unlink php70
brew install php71
开启调试模式
$ php -a
Interactive shell
php > echo 5+8;
13
php > function addTwo($n)
php > {
php { return $n + 2;
php { }
php > var_dump(addtwo(2));
int(4)
php >