I considered trying to use mirrors when downloading the source code. It seemed simpler to just download the release from GitHub. Example code: https://gist.github.com/lox/9152137
Use
Check the asdf readme for instructions on how to install & manage versions of PHP.
Contributing
Feel free to create an issue or pull request if you find a bug.