PHP 7.1 is very new, and adds many amazing new features over the older 5.x versions.
It is important that PHP code adhere (as close as possible) to a common code style to make it easy for developers to mix and match various libraries for their projects.
The Framework Interop Group has proposed and approved a series of style recommendations.
That said, these tools will be a little different from production so be careful of environment differences if you are working on Windows and deploying to Linux.
If you need to run your production system on Windows, then IIS7 will give you the most stable and best performance.
Another option that gives you control over the version of PHP you install, is to compile it yourself.
In that case be sure to have installed either Xcode or Apple’s substitute “Command Line Tools for XCode” downloadable from Apple’s Mac Developer Center.
With PHP 5.4 or newer, you can start learning PHP without installing and configuring a full-fledged web server.
To start the server, run the following command from your terminal in your project’s web root: OS X comes prepackaged with PHP but it is normally a little behind the latest stable.
For support and additional resources there is a dedicated area on for PHP.