PHP 5 is dead! So it's finally time to look at PHP 7 and learn all about the important stuff it brings. We're talking about scalar type declarations, return types, and the spaceship operator! Actually, not that last thing - there is a new spaceship operator (<=>) in PHP 7, but other than having a cool name... it's not really very important. Instead, we'll focus on:
- Scalar type declarations and return types
- Nullable types
- Void types
- Class constant visibility
- New error and exception handling
And, PHP7 is fast! So let's get to it!