I am trying to code TDD style in PHP and one of my biggest stumbling blocks (other than lack of a decent IDE) is that I have to make my own hacked together IoC container just to inject all my mock objects properly.
Has anyone used an Ioc container in php? All I've been able to find is PHP IOC on the ever-annoying phpclasses.org and it seems to have almost no documentation and not much of a following.
I played with some DI Frameworks for PHP, but I haven't used one in production. Have some links:
You mentioned you would use it for TDD - so maybe have a look at Dependency Injection for Unit Tests in PHP