I would like to test my application on PHP 5.3 up to PHP 7.0.
Where and how can I install the versions and how can I switch them by running a small script?
brew
Show current version
$ php -v
Change to different version (eg. changing from 5.5.x to version 7.0.latest) :
$ brew unlink php55 $ brew install php70