Best way to persist configuration

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Best way to persist configuration

Post by josh »

Included files are in the same scope as their "includer". THats the same thing as using globals. might as well just actually use an actual global variable to set the config. Makes it easier to split the configuration into multiple files when it grows larger.
Post Reply