Nailed it.
Tuesday, April 8th, 2008After too much time working out WTF is going on with my code, I finally nailed the problem.
It’s a scope problem. Creating a PHP ZSL instance at the global scope, then applying methods to it causes it to leak like a sieve. (It’s down to how ZSL is implemented, with class inheritance and stuff). So now I’ve moved the entire structure of addressing the index to its own routine, out of global scope and voila it works beautifully.
Current Mood:
accomplished
