PHP's source code is hosted on GitHub. To build from source you will first need to check out a working copy of the code.
mkdir /usr/local/src/php-7.0/
cd /usr/local/src/php-7.0/
git clone -b PHP-7.0 https://github.com/php/php-src .
If you want to add a feature, it's best to create your own bra...