PHP 7 Programming Cookbook
Over 80 recipes that will take your PHP 7 web development skills to the next level!
Language - English
Updated on Oct, 2020
About the Book
Book description
PHP 7 comes with a myriad of new features and great tools to optimize your code and make your code perform faster than in previous versions. Most importantly, it allows you to maintain high traffic on your websites with low-cost hardware and servers through a multithreading web server.
This book demonstrates intermediate to advanced PHP techniques with a focus on PHP 7. Each recipe is designed to solve practical, real-world problems faced by PHP developers like yourself every day. We also cover new ways of writing PHP code made possible only in version 7. In addition, we discuss backward-compatibility breaks and give you plenty of guidance on when and where PHP 5 code needs to be changed to produce the correct results when running under PHP 7. This book also incorporates the latest PHP 7.x features.
By the end of the book, you will be equipped with the tools and skills required to deliver efficient applications for your websites and enterprises.
Features
- This is the most up-to-date book in the market on PHP
- It covers the new features of version 7.x, best practices for server-side programming, and MVC frameworks
- The recipe-based approach will allow you to explore the unique capabilities that PHP offers to web programmers
Learn
- Use advanced PHP 7 features, such as the Abstract Syntax Tree, Uniform Variable Syntax, Scalar Type Hints, Generator Delegation, Anonymous Classes, and the Context Sensitive Lexer
- Discover where and when PHP 5 code needs to be re-written to avoid backwards-compatibility breaks
- Improve the overall application security and error handling by taking advantage of classes that implement the new throwable interface
- Solve practical real-world programming problems using PHP 7
- Develop middle-wareclasses that allow PHP developers to gluedifferent open source libraries together seamlessly
- Define and Implement PSR-7 classes
- Create custom middleware using PSR-7 compliant classes
- Test and debug your code, and get to know the best practices

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now