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 0:00 emoji and international characters. 0:05 But this should give you a taste of what's changing in PHP. 0:08 I've also included some links for further learning. 0:11 Another big area that could cause trouble are features that have been removed. 0:14 This should really only be an issue if you're working with an older code base 0:19 because the features that have been removed are primarily ones that have been 0:23 deprecated for a long time. 0:26 If you've been putting off making these necessary changes, 0:30 the huge advantage in speed with PHP 7 should help convince you or 0:32 management to take the time needed to update your code. 0:37 I've included information and 0:41 tools in the teachers notes that can help make it much less painful. 0:42 It's an exciting time to be involved in PHP, not only for 0:47 the language itself but also for the community. 0:51 If you haven't jumped on board with the PHP community yet, 0:54 I'd encourage you to start today. 0:57 Find your local users group. 1:00 Php.ug is a good place to start, but 1:01 don't forget communities like WordPress and Drupal. 1:05 Or if you can't find anything, start your own. 1:09 This can be as simple as a couple PHP programmers getting together for coffee. 1:12 Php also has a vibrant online community. 1:15 Check out things like NomadPHP, Twitter, and IRC. 1:19 And if you really want to dive in to the community, come find me at a conference. 1:24 Once you've found your local users group, download the code samples attached to this 1:29 video and start exploring PHP 7 for yourself. 1:32
You need to sign up for Treehouse in order to download course files.Sign up