Over 11 years after the release of PHP 5.0, the technology that runs the majority of web sites has come out with a new major version. This course will get you on track with the new release, helping you get the most out of the new features and warning you about changes that break backwards-compatibility, and possibly your legacy code.
Christian Wenz is an author, consultant and trainer focusing on web technologies. He wrote or co-wrote over 100 books, is a fixture at international developer conferences since 2001, is a Microsoft Most Valuable Professional (MVP) for ASP.NET, an ASPInsiders member, and main author of the Zend PHP 5.5 certification.
Getting Started Hi and welcome to Pluralsight. My name is Christian Wenz and in this video I would like to tell you all about what's new in PHP 7. PHP 7 is the latest major version of PHP, it has been anticipated quite a bit, and now it's there. So we'll have a look, both at what has changed in terms of things that won't work any longer, and of course what's new, which new features are in there.
What's New Hi, in this module we will discuss what's new in PHP 7. Now if you read about PHP 7, the main feature, at least some say, is that PHP 7 is significantly faster than its previous versions. The team worked hard to create a new engine that backs PHP 7 and indeed a lot of benchmarks show that the performance gains are incredible. Some applications, standard applications out on the web, not artificial benchmarks, are probably twice as fast as before and the good thing about this is that comes for free. The application didn't need any optimizations in order to gain that performance. So indeed PHP 7 is, in at least very many cases, very much faster than the previous versions. So that we have, that's nothing we need to cover specifically. There are also some other minor new features like 64 bit support, a few optimizations here and there, but we would like to focus here on the main novelties that you actually can see and that you can program with, new operators, for instance, new language features. So this is what this module is all about. So let's get started.
What's Changed Hi and welcome to what's changed, in PHP 7 that is. Now the new features in PHP 7 have been pretty nice if you ask me, however, I have a lot of existing web applications and I'm pretty certain you have them too. So you might be wondering, will your app still run under PHP 7? If so, that's awesome because then you can use the better performance, for instance, without any extra effort, however, if the apps do not run you need to put some effort in it. So in this module we will have a look at what has changed and, well, effectively does break backwards compatibility. So I've singled out a few of those things that are different from before and I'll guide you through fixing those.