What are the general recommendations regarding using magic for getters and setters?
<p>Coming from strongly typed languages, I'm uncomfortable with the magic getter and setter methods of PHP. What is the motivation behind implementing them into the language and what are the general recommendations regarding using them?</p>

<p>Edit:</p>

<p>I understand the motivation behind using getters and setters in general. I'm interested in the motivation behind using magic getter and setter methods (as opposed to <code>setProperty($property)</code> and <code>getProperty()</code> methods).</p>
