Chapter 1. Building a Foundation

In this chapter, we will cover the following topics:

  • PHP 7 installation considerations
  • Using the built-in PHP web server
  • Defining a test MySQL database
  • Installing PHPUnit
  • Implementing class autoloading
  • Hoovering a website
  • Building a deep web scanner
  • Creating a PHP 5 to PHP 7 code converter

Introduction

This chapter is designed as a quick start that will get you up and running on PHP 7 so that you can start implementing the recipes right away. The underlying assumption for this book is that you already have a good knowledge of PHP and programming. Although this book will not go into detail about the actual installation of PHP, given that PHP 7 is relatively new, we will do our best to point out the quirks and gotchas you ...

Get PHP 7 Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.