Brew PHP switcher is a simple shell script to switch your apache and CLI quickly between major versions of PHP. If you support multiple products/projects that are built using either brand new or old legacy PHP functionality. For users of Homebrew (or brew for short) currently only.
Use
-ge
instead of>
to perform mathematical comparison in bash. Otherwise will create a file called101300
. Fixes #60.