0
Php
What exactly mean objects overloading in php. I really don't understand the use of __get(), __ call() and __set()
2 odpowiedzi
+ 1
__get,__call and __set are magic functions in PHP.
+ 1
__set is for writing data to inaccessible objects in PHP.
__get is for accessing data from inaccessible objects.
__call is for invoking the inaccesible objects.
You can understand better from the PHP Lesson in Sololearn about PHP Magic Functions.