Object Overloading in PHP 5
Subject:   What about __set() and __get() ?
Date:   2005-10-12 16:26:22
From:   chiology
Is it just me or am I the only person that knows about the __get() and __set() functions? It seems like this would be a wonderful alternative to this rather sloppy method.

Look it up, it's in the PHP5 Objects documentation under the 'Magic Functions' heading (I think).


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • What about __set() and __get() ?
    2005-10-13 00:42:43  MartinJansen [View]

    What exactly do you mean? The first part of the article actually talks about those two magic methods, while the second part covers __call which belongs to the same method family.