Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Other Changes and Gotchas1:36 with Alena Holligan
Another big area that could cause trouble, are features that have been removed. This should really only be an issue if you’re working with an older code base, because the features that have been removed are primarily ones that have been deprecated for a long time. If you’ve been putting off making these necessary changes, the huge advantage in speed with PHP7 should help convince you, or management, to take the time needed to update your code. I’ve included information and tools in the Teacher’s Notes that can help make it much less painful.
Check Your Code for Compatibility
PHP 7 Compatibility Checker
Download the latest version of PHP7
PHP7 Vagrant Box
MAMP, XAMPP, and WAMP all include PHP7. Take a look at these workshops for installing a local development environment.
MAC: Local Development Environment
Windows: Local Development Environment
There are quite a few other features added in PHP 7, like Unicode support for
emoji and international characters.
But this should give you a taste of what's changing in PHP.
I've also included some links for further learning.
Another big area that could cause trouble are features that have been removed.
This should really only be an issue if you're working with an older code base
because the features that have been removed are primarily ones that have been
deprecated for a long time.
If you've been putting off making these necessary changes,
the huge advantage in speed with PHP 7 should help convince you or
management to take the time needed to update your code.
I've included information and
tools in the teachers notes that can help make it much less painful.
It's an exciting time to be involved in PHP, not only for
the language itself but also for the community.
If you haven't jumped on board with the PHP community yet,
I'd encourage you to start today.
Find your local users group.
Php.ug is a good place to start, but
don't forget communities like WordPress and Drupal.
Or if you can't find anything, start your own.
This can be as simple as a couple PHP programmers getting together for coffee.
Php also has a vibrant online community.
Check out things like NomadPHP, Twitter, and IRC.
And if you really want to dive in to the community, come find me at a conference.
Once you've found your local users group, download the code samples attached to this
video and start exploring PHP 7 for yourself.
You need to sign up for Treehouse in order to download course files.Sign up