With the release of PHP 7 just around the corner, a quick start guide seems to be in order. This guide was written with Linux in mind but it should work ok with Mac OS X. If you are on Windows, you should switch to Linux (or maybe Mac) :). Let’s get a testing environment set up.

1. Vagrant box installation

2. Vagrant box setup

3. Create the Vagrant instance

4. add host directive

5. Run PHP 7


<?php

echo 'Hello World';


You should now be up and running with php 7.