OOP is really a powerful and useful feature in php and magic methods can be said miracles in the OOP concept of PHP. Many of them are familiar, while some might not, since all of them are not useful in everyday’s coding. In this article, I am going to put some lines for some magic methods used in common. But first of all let me say something: what is magic method actually ?
Continue reading