Question:

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.

http://php.net/manual/en/language.oop5.magic.php


Keywords:

© 2017 QuizBucket.org