mamchenkov.net
Sharing constants between PHP classes
When writing larger applications, it is often useful to have some constants defined, which can then be shared between different parts of the application. There are several ways to do this, and there is no real rocket science here. However, the question is: what's the best way to do so? Until now I haven't seen … Continue reading Sharing constants between PHP classes