E-book details

PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques

PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques

Doug Bierer, Cal Evans

Ebook
Thanks to its ease of use, PHP is a highly popular programming language used on over 78% of all web servers connected to the Internet. PHP 8 Programming Tips, Tricks, and Best Practices will help you to get up-to-speed with PHP 8 quickly. The book is intended for any PHP developer who wants to become familiar with the cool new features available in PHP 8, and covers areas where developers might experience backward compatibility issues with their existing code after a PHP 8 update. The book thoroughly explores best practices, and highlights ways in which PHP 8 enforces these practices in a much more rigorous fashion than its earlier versions.
You'll start by exploring new PHP 8 features in the area of object-oriented programming (OOP), followed by enhancements at the procedural level. You'll then learn about potential backward compatible breaks and discover best practices for improving performance. The last chapter of the book gives you insights into PHP async, a revolutionary new way of programming, by providing detailed coverage and examples of asynchronous programming using the Swoole extension and Fibers.
By the end of this PHP book, you'll not only have mastered the new features, but you'll also know exactly what to watch out for when migrating older PHP applications to PHP 8.
  • 1. Introducing New PHP 8 OOP Features
  • 2. Learning about PHP 8's Functional Additions
  • 3. Taking Advantage of Error-Handling Enhancements
  • 4. Making Direct C-Language Calls
  • 5. Discovering Potential OOP Backward-Compatibility Breaks
  • 6. Understanding PHP 8 Functional Differences
  • 7. Avoiding Traps When Using PHP 8 Extensions
  • 8. Learning about PHP 8's Deprecated or Removed Functionality
  • 9. Mastering PHP 8 Best Practices
  • 10. Improving Performance
  • 11. Migrating Existing PHP Apps to PHP 8
  • 12. Creating PHP 8 Applications Using Asynchronous Programming
  • Title: PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques
  • Author: Doug Bierer, Cal Evans
  • Original title: PHP 8 Programming Tips, Tricks and Best Practices. A practical guide to PHP 8 features, usage changes, and advanced programming techniques
  • ISBN: 9781801079709, 9781801079709
  • Date of issue: 2021-08-27
  • Format: Ebook
  • Item ID: e_2a8s
  • Publisher: Packt Publishing