<p>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.</p>

<p>Has anyone used an Ioc container in PHP?  All I've been able to find is <a href="http://www.phpclasses.org/browse/package/3382.html" rel="nofollow noreferrer">PHP IOC on the ever-annoying phpclasses.org</a> and it seems to have almost no documentation and not much of a following.</p>

I played with some DI Frameworks for PHP, but I haven't used one in production. Have some links:
http://www.stubbles.net/
which
I think is the oldest I tried
http://php.xjconf.net/
FLOW3
- I belive this one will
become a very nice framework (its
beta right now)
You mentioned you would use it for TDD - so maybe have a look at
Dependency Injection for Unit Tests in PHP