Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Most Popular PHP Magic Methods
Oct 01, 2019 @ 12:30:02

Most Popular PHP Magic Methods

PHP features the concept of magic methods : methods that have a special function. They are related to other PHP features, and are automatically called on an object, when available. 

For example, the __toString() method is called whenever an obj...


Link: https://www.exakat.io/most-popular-php-magic-methods/

Trending Topics: