Is it considered incorrect practice to declare privacy modifiers on variable/properties of subclasses?
for example:
class SubClass {
var $property = 'notice there is no private, public, or protected keyword here';
}
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.