PHP mocks engine that allows to redefine functions and user methods on-the-fly (provides similar functionality to runkit and uopz extensions)
Mocky is a simple API mocking solution written in PHP.
Mock built-in PHP functions (e.g. time(), exec() or rand())
Mock non deterministic built-in PHP functions (e.g. time() or rand()) with Mockery.
Library containing highly intelligent MongoDB mocks for unit testing