Tag Archives: tutorials

Magic methods in PHP

PHP has lot of magic stored in it. Magic methods in PHP is one way to witness it. These methods are executed automatically on certain event or situation. The function names __construct, __destruct, __get, __set etc are known as magic methods in PHP classes. That means these function names are