PHP invoke: is anybody using it?

Photo by frank mckenna on Unsplash

Spoiler Alert: Yes, I found several interesting and practical cases. I will share them with you in this post.

PHP has several functions that are called magic methods.

And why they are magic?

Because they are magically called by PHP when specific actions happen.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store