PHP 7 Programming Cookbook

Over 80 recipes that will take your PHP 7 web development skills to the next level!

PHP 7 Programming Cookbook

Cookbook
Doug Bierer

Over 80 recipes that will take your PHP 7 web development skills to the next level!
This title is available to pre-order now and is expected to be published in
$32.00
$49.99
RRP $39.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos โ€“ youโ€™ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Code Files
+ Collection
Free Sample

Book Details

ISBN 139781785883446
Paperback426 pages

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.

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.

Table of Contents

What You Will 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-ware" classes that allow PHP developers to "glue" different open source libraries together seamlessly
  • Test and debug your code, and get to know the best practices

Authors

Table of Contents

Book Details

ISBN 139781785883446
Paperback426 pages
Read More