PHP 7 Programming Cookbook

Over 80 recipes that will take your PHP 7 web development skills to the next level!About This BookThis is the most up-to-date book in the market on PHPIt covers the new features of version 7, best practices for server-side programming, and MVC frameworksThe recipe-based approach will allow you to explore the unique capabilities that PHP offers to web programmersWho This Book Is ForIf you are an aspiring web developer, mobile developer, or backend programmer, then this book is for you as it will take your PHP programming skills to next level. Basic knowledge of PHP programming is assumed.What You Will LearnUse advanced PHP 7 features, such as the Abstract Syntax Tree, Uniform Variable Syntax, Scalar Type Hints, Generator Delegation, Anonymous Classes, and the Context Sensitive LexerDiscover where and when PHP 5 code needs to be re-written to avoid backwards-compatibility breaksImprove the overall application security and error handling by taking advantage of classes that implement the new throwable interfaceSolve practical real-world programming problems using PHP 7Develop "middle-ware" classes that allow PHP developers to "glue" different open source libraries together seamlesslyTest and debug your code, and get to know the best practicesIn DetailPHP 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.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.

Author: Doug Bierer

Learn more