This reminds me of debugging. Right now, you can set MONGO_SERVER and test for a specific environment, even when running a script with "php tests/foo.phpt" - how is that going to work after this change?