Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PHP 8 Programming Tips, Tricks and Best Practices

You're reading from   PHP 8 Programming Tips, Tricks and Best Practices A practical guide to PHP 8 features, usage changes, and advanced programming techniques

Arrow left icon
Product type Paperback
Published in Aug 2021
Publisher Packt
ISBN-13 9781801071871
Length 528 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Doug Bierer Doug Bierer
Author Profile Icon Doug Bierer
Doug Bierer
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: PHP 8 Tips
2. Chapter 1: Introducing New PHP 8 OOP Features FREE CHAPTER 3. Chapter 2: Learning about PHP 8's Functional Additions 4. Chapter 3: Taking Advantage of Error-Handling Enhancements 5. Chapter 4: Making Direct C-Language Calls 6. Section 2: PHP 8 Tricks
7. Chapter 5: Discovering Potential OOP Backward-Compatibility Breaks 8. Chapter 6: Understanding PHP 8 Functional Differences 9. Chapter 7: Avoiding Traps When Using PHP 8 Extensions 10. Chapter 8: Learning about PHP 8's Deprecated or Removed Functionality 11. Section 3: PHP 8 Best Practices
12. Chapter 9: Mastering PHP 8 Best Practices 13. Chapter 10: Improving Performance 14. Chapter 11: Migrating Existing PHP Apps to PHP 8 15. Chapter 12: Creating PHP 8 Applications Using Asynchronous Programming 16. Other Books You May Enjoy

Preface

PHP 8 represents the culmination of the PHP core development team's work to maximize efficiency in the core language. Your application code will immediately see a boost in speed as well as having a smaller memory footprint just by migrating to PHP 8. Further, in PHP 8, developers notice that a tremendous effort has gone into normalizing syntax and language usage. In short, programming in PHP 8 is a joy to developers who appreciate adherence to good coding practices.

However, this inevitably leads to the question: where does the PHP language go from here? PHP 8 provides the answer to this question as well, in the form of the Just-In-Time compiler and support for fibers. The latter forms the foundation of asynchronous programming and has been announced for PHP 8.1. PHP 8 gives you a glimpse of the future of the language, and that future is looking extremely bright!

If you put all this together, it becomes clear that understanding and mastering the new features and stricter coding practices implemented in PHP 8 is vital to those who wish to pursue a serious career as a PHP developer. This book is exactly the tool you need to get up and running with PHP 8 quickly. Not only do we cover new features, but we also show you how to avoid traps that could lead to code failure after a PHP 8 migration. In addition, we give you a glimpse into the future of PHP via thorough coverage of the JIT compiler and PHP asynchronous programming.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime