Today #PHP7 is officially released – the fastest and most efficient PHP ever – http://php.net/archive/2015.php#id2015-12-03-1.
Five Lesser-Known Features of PHP 7 – http://www.colinodell.com/blog/2015-12/five-lesser-known-features-of-php-7
You can presently install the nightly builds in 3 ways:
- Installation packages for Ubuntu 14.04 and CentOS 7 (and compatible distros)
- Dockerfile for Docker
- Tarballs for Ubuntu and CentOS
An overview of the features, changes, and backward compatibility breakages in PHP 7.
PHP 7 Compatibility Checker
PHP 7 tutorial
PHP 7 will be better than many other languages
To learn about what’s coming and what an impact it might have on you:
- Official list of new features
- Super comprehensive list on GitHub
- What to Expect series
- PHP7 at a glance
- DigitalOcean’s look at new features
- Colin O’dell’s 5 Lesser Known Features
If you’re into video lessons and don’t mind paying for them, two sites covered basically the same thing:
- Codecourse at https://www.codecourse.com/library/lessons/php-7-new-features
- Laracasts at https://laracasts.com/series/php7-up-and-running
To learn about the type system, arguably the biggest change, and how it compares to hack:
Getting Started with PHP 7
- If you’re not of the VM sort, to install PHP 7 on the most recent version of OS X, see http://php-osx.liip.ch/
- If you are, however, there’s Jump Start PHP Environment – a book by yours truly, edited and reviewed by the venerable Ross Tuck. It’s a short book on getting started before code – learning about requests, responses, virtual machines, and all the other important server and local development machine setups. The book helps prepare you to write platform-agnostic code, and makes it possible for others to just jump into your team at a whim.
- Paid intro course from Zend – good for people familiar with PHP 5 who don’t mind shelling out some cash
- Official migration guide from 5.x
- Erika’s excellent post on DigitalOcean
Last but not least, PHPToday have put together an absolutely fantastic list of talks which you can take a look at here.
Tools, testing and hosting
Lots of helpful tools have already sprung up around the new release:
- PhpStorm, ahead of the pack as ever, already comes with full PHP 7 mode.
- Phan is a static analyzer, the features of which you’d best read about here. We’ve got a full tutorial coming up, for the curious.
- Exakat is another analyzer
- Tuli is yet another – but development is somewhat halted. If anyone wants to write a comparison post targeting all three, let us know!
- Andrea Faulds threw out some interesting PHP 7 exclusive packages that warrant a look!
- A Vagrant box by Rasmus Lerdorf is the box to use when testing on multiple versions of PHP, and can be downloaded here. Tutorial about using it here.