ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  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).


M.T.


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

1 to 1 of 1