Access modifier for php class properties
<p>Why doesn't php have default access modifier for Class properties (like functions - functions do have a default : <a href="http://stackoverflow.com/questions/2224380/default-visibility-of-class-methods-in-php">Default visibility of class methods in PHP</a>) ? It always forces you to use one of the access modifiers(private,public or protected) or var. Would it make more sense to have a default access modifier like 'public' if none is specified ? What was the logic of not providing one ?
Am no php expert so please excuse if i am missing anything obvious.</p>
