Skip to content

Some drops of PHP

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

The reason why

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: https://github.com/roberto-butti/some-drops-of-php 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.

Releases

So, if you have any feedback, or you want to suggest some corrections, feel free to open an issue here: https://github.com/roberto-butti/some-drops-of-php/issues

Where to find this book

This book is available for download for free here: https://github.com/roberto-butti/some-drops-of-php/

Thanks to…

Thanks to all the Open Source community.

Thanks to AstroBuild community for Starlight.

Thanks to all the contributors https://github.com/roberto-butti/some-drops-of-php/graphs/contributors.

License

”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 http://creativecommons.org/licenses/by-nc-sa/4.0/.