PHP & Implementing .Netish Properties
<p>I've decided to have some fun, and implement .Net Properties in PHP. </p>

<p>My current design centers around something like:</p>

<pre><code>$var;

method Var($value = null)
{
if($value == null) {
return $var;
}
else {
$var = $value;
}

}
</code></pre>

<p>Obviously this runs into a bit of an issue if someone is trying to set the property (and associated variable) to null, so I am thinking of creating a throwaway class that would never be used. Thoughts, comments?</p>
