0

Php

What exactly mean objects overloading in php. I really don't understand the use of __get(), __ call() and __set()

17th Mar 2019, 9:38 AM
Eyob
Eyob - avatar
2 odpowiedzi
+ 1
__get,__call and __set are magic functions in PHP.
17th Mar 2019, 11:26 AM
Tim
Tim - avatar
+ 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.
17th Mar 2019, 11:29 AM
Tim
Tim - avatar