What's in the book?
- Twice the content of the first edition
- Updated for PHP 7 and HHVM
- Tips for implementation in the real world
- Tooling, libraries and evented programing
- Pipelines, pattern matching and flat map
- Monads, applicatives and functors
- λ functions, composition and currying
Buy the book
Why should everyone else have all the fun? PHP can easily be functional too!
It is fair to say that many programmers believe power programming techniques are not possible with PHP in part due to an infamous legion of detractors.
This book will not only dispel those myths, but also show you how to push PHP to it's limits by programming in a functional style.
Who's it for?
This book is for anyone that has an interest in functional programming or PHP as an advanced programming language.
If you are curious or have never even heard of functional programming before then this is the gentle introductory text you have been looking for. Equally it serves those seeking to exploit the advanced functional concepts such as monads in a PHP context.
You do not have to be running the latest bleeding edge build of PHP to enjoy the book and make use of all the techniques. It is a practical guide that can be implemented with PHP 5.4 whilst highlighting the syntactic sugar and functionality available in later releases.
Already read the book?
Firstly, thank you for buying the book and for taking the time to read it!
I would be really grateful it if you could spare a moment to email me any feedback you may have: firstname.lastname@example.org.
Functional PHP talk
In recent versions of PHP developers can use multi-byte (UTF-8) characters as function names. This list allows a copy and paste of a few common characters into your editor.
Looking for the first edition website? See the First Edition archive.
My name is Simon Holywell and I am an Australian Zend certified Senior Software Engineer working at Aurion in Brisbane, Australia. Previously I have worked in London, Melbourne and Auckland for web development firms.
Currently I do most of my work in Node.js and PHP, but my private projects are written using Python and Scala.
I live in Queensland with my wife, children and a dog. I am also a big fan of motorcycles although I am in-between bikes at the moment.