MAGIC METHODS 1.Why magic methods ? Ans: In PHP, a variable can take any form depending on the data passed to it. Also PHP automatically creates variable and assigns values to it even if the variables are not defined. But in Object Oriented Programming all the data members/methods needs to be defined. To solve some [...]
Filed under: php stuff | Leave a Comment »