Book description
PHP 7—the most dramatic update to the language in over a decade—has arrived. This O’Reilly report provides you with a short guide to the major changes in this new release, including a revamped engine (Zend Engine 3), a bunch of new features, and lots of language cleanup. You’ll learn about basic language changes, deprecated features, Unicode enhancements, changes in Object-Oriented programming, and other enhancements.
You’ll also discover why it’s taken more than 10 years for the first new major version of PHP since PHP 5 to appear—and what happened to version 6 in the meantime.
Get important details regarding changes to PHP 7, including:
- Deprecated features, starting with alternative PHP tags and POSIX-compatible regular expressions
- Uniform Variable Syntax, including consistency fixes and new syntax
- Basic language changes, such as new operators, constant arrays, new functions, and regular expressions
- Expectations and Assertions
- Error handling
- Enhancements to PHP’s Unicode, closure, and Generator features
- Changes in Object-Oriented programming
- Scalar type hints (perhaps the most polarizing and exciting new feature)
Publisher resources
Table of contents
- 1. Upgrading to PHP 7
- 2. Deprecated Features
- 3. Uniform Variable Syntax
- 4. Basic Language Changes
- 5. Expectations and Assertions
- 6. Error Handling
- 7. Unicode Enhancements
- 8. Closure Enhancements
- 9. Generator Enhancements
- 10. Changes in Object-Oriented Programming
- 11. Type Hints
- A. Resources
- B. RFCs for PHP 7.0
Product information
- Title: Upgrading to PHP 7
- Author(s):
- Release date: October 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491940082
You might also like
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Modular Programming with PHP 7
Utilize the power of modular programming to improve code readability, maintainability, and testability About This Book …
book
Mastering PHP 7
Effective, readable, and robust codes in PHP About This Book Leverage the newest tools available in …
book
The PHP Workshop
Cut through the noise and get real results with a step-by-step approach to learning PHP programming …