Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.1 Introduction

There are few things more exciting than a new version of your chosen programming language! In this course I'm going to show you what's new in PHP 7 and 7.1.

1.1 Introduction

As a developer, there are few things more exciting than new versions of your chosen programming language. I mean we spend an insurmountable amount of time writing and working with code. And every new version brings new syntax and other goodies that make working with code even more enjoyable than it all ready is. Well PHP 7 and 7.1 are no exception. Hi, my name is Jeremy McPeak. And in this course, I'm going to show you what's new in PHP 7 and 7.1. We'll begin with the new features added to PHP 7, starting with scalar type hints and return type declarations. We'll then talk about the new null coalescing and spaceship operators and how they can simplify common patterns. We'll then talk about anonymous classes and how to catch internal PHP errors. Now from there we're going to turn to the new features in 7.1. You'll learn about nullable types and how they can make your code more flexible and concise. We'll look at the new array destructuring syntax, as well as the new support for destructuring data structures. And finally, we'll talk about class constant visibility. Now these are all wonderful additions to PHP, and I'm excited to spend the next few minutes going over these new features with you. So when you're ready, queue up the next video and we'll get started.

Back to the top