Translations:Developers/Object oriented programming in PHP/Properties/23/en

The static keyword is not used very often in Arcavias for properties. In MShop it's used for include paths and it occurs in classes for unit tests, see class TestHelper in lib/mshoplib/tests/ for example. The purpose of static properties is most often to cache objects that are shared by all instances of the class, e.g. in the TestHelper class: