Naming OOP PHP Properties
PHP OOP properties can be named inside or outside the class. When you create an object, it gets the property name from within the class. Howvere, when you rename an object ouside the class, it will override the previous name for that property.
The code below shows 2 new instantiated objects;
$statement1 = new myclass;
$statement2 = new myclass;
Note how the text for the property name from each object is different from each other when the get_my_method() method is triggered?