Should I be using the var keyword in PHP?
<p>I just reviewed my code and I realize that I never use</p>

<pre><code>var
</code></pre>

<p>However I read </p>

<p><a href="http://www.php.net/manual/en/keyword.class.php" rel="nofollow">http://www.php.net/manual/en/keyword.class.php</a></p>

<p>and it seems to say that one should use var.</p>

<pre><code>&lt;?php
class Cart {
    var $items;  // Items in our shopping cart
     ....blah
}
?&gt;
</code></pre>

<p>In this example what privacy is var set to.</p>

<p>For my purposes I just normally do:</p>

<pre><code>private $some_var;
public $some_var;
protected $some_var;
</code></pre>

<p>What is best practice?</p>
