Custom variables in PHP.ini file

Right, so I could store many domain specific variables in my environment, but each PHP script that needed to use one would have to unserialize it if it wasn’t a string ( most of them are indeed strings).

As was said, that would likely need benchmarking.

Even if it does cause a bit of a drag, I think I might prefer doing this than going down the whole Registry route for globals - which frankly does not look inviting.