Let’s say I have an object named “$SETTINGS” which is instantiated almost immediately.
Since everything goes through my index.php, I want to be able to refer to it through all pages that are included with “include()” etc.
Sadly, “define()” only works for strings and numbers, otherwise that would be exactly what I was looking for.
Does anyone need a better explanation?