Sr. PHP Programmer Question:
Download Questions PDF

What are some magic methods in PHP, how might you use them?

Answer:

Magic methods are basically triggers that occur when particular events happen in your coding. __GET, __SET are magic methods that are called (behind the seen) when you get or set a class property.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is MVC in PHP context?Can the value of a constant change during the script's execution?