PHP 8 Programming Tips, Tricks and Best Practices
eBook - ePub

PHP 8 Programming Tips, Tricks and Best Practices

Doug Bierer, Cal Evans

  1. 528 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

PHP 8 Programming Tips, Tricks and Best Practices

Doug Bierer, Cal Evans

Book details
Table of contents
Citations

About This Book

Discover effective techniques, workarounds, and expert guidance for avoiding situations where your application might break following PHP 8 migrationKey Features• Get the hang of all the new features introduced in PHP 8• Learn how to detect potential code breaks and keep your application code running smoothly in PHP 8• Explore an exciting new trend - asynchronous PHP programming using Swoole and FibersBook DescriptionThanks 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.What you will learn• Gain a comprehensive understanding of the new PHP 8 object-oriented features• Discover new PHP 8 procedural programming enhancements• Understand improvements in error handling in PHP 8• Identify potential backward compatibility issues• Avoid traps due to changes in PHP extensions• Find out which features have been deprecated and/or removed in PHP 8• Become well-versed with programming best practices enforced by PHP 8Who this book is forThis book is for PHP developers at all levels who have experience in PHP 5 or above. If you're just getting started with PHP, you'll find the code examples useful for learning the language. Developers who have worked for a few months on one or more PHP projects will be able to apply the tips and techniques to the code at hand, while those with many years of PHP experience are sure to appreciate the concise coverage of new PHP 8 features.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is PHP 8 Programming Tips, Tricks and Best Practices an online PDF/ePUB?
Yes, you can access PHP 8 Programming Tips, Tricks and Best Practices by Doug Bierer, Cal Evans in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in PHP. We have over one million books available in our catalogue for you to explore.

Information

Year
2021
ISBN
9781801079709
Edition
1

Table of contents

    Citation styles for PHP 8 Programming Tips, Tricks and Best Practices

    APA 6 Citation

    Bierer, D., & Evans, C. (2021). PHP 8 Programming Tips, Tricks and Best Practices (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/2875052/php-8-programming-tips-tricks-and-best-practices-pdf (Original work published 2021)

    Chicago Citation

    Bierer, Doug, and Cal Evans. (2021) 2021. PHP 8 Programming Tips, Tricks and Best Practices. 1st ed. Packt Publishing. https://www.perlego.com/book/2875052/php-8-programming-tips-tricks-and-best-practices-pdf.

    Harvard Citation

    Bierer, D. and Evans, C. (2021) PHP 8 Programming Tips, Tricks and Best Practices. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/2875052/php-8-programming-tips-tricks-and-best-practices-pdf (Accessed: 25 September 2021).

    MLA 7 Citation

    Bierer, Doug, and Cal Evans. PHP 8 Programming Tips, Tricks and Best Practices. 1st ed. Packt Publishing, 2021. Web. 25 Sept. 2021.