Skip to content

Some drops of PHP

Welcome to Some drops of PHP

The reason why

This book collects some useful, unknown, underrated PHP functions or stuff discovered, used, and learned during PHP’s daily use.

Using frameworks daily, sometimes the perception of the power of the language and the basic functionalities provided by the PHP core could be lost. I see that usually, I used to look at the framework documentation or look for a package in Packagist for the system, array, and string functions instead of using core functionalities provided by the language.

While I wrote this book, I also wrote some scripts to better understand the behavior of the functions. You can find these examples here: in the examples directory.

Continuous release

I was thinking of printing this book, but I think that is not so eco-friendly and a book about development could be improved daily in terms of spellchecking and the content and examples. So, I expect to adopt the same approach in the software with the CI/CD, with a continuous release of the book.


So, if you have any feedback, or you want to suggest some corrections, feel free to open an issue here:

Where to find this book

This book is available for download for free here:

Thanks to…

Thanks to all the Open Source community.

Thanks to AstroBuild community for Starlight.

Thanks to all the contributors


”Some drops of PHP” (c) by Roberto Butti

”Some drops of PHP” is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

You should have received a copy of the license along with this work. If not, see