PHP is a powerful, general-purpose programming language, with a dynamic type system
at its core. It has been used by a generation of programmers to create much of the
Internet we see today.
It has also been the subject of ridicule, thanks to what some consider to be an
inconsistent and incomplete set of core functionality.
This book seeks to address those issues, by building a stronger type system. It’s a type
system that parallels more modern programming languages and best practices.
As we step through the core PHP functionality, we’ll identify inconsistencies and
shortcomings, while also exploring viable approaches to overcoming them. We’ll build a
standard library of our own and see how a number of open source extensions can bring
these libraries in harmony with the built-in data types.