It's now possible to mock an undefined PHP function.
Make a common function code template
Making the closure a static method to avoid error on 5.3
Move eval
Merge pull request #1 from jubianchi/phpMocker

Remove code duplication, thanks to @jubianchi for its help.
Refactoring to avoid code duplication and add unit tests.
Add mocker\adapter and mocker\adapter\invoker.
Merge pull request #292 from mageekguy/phpMocker

It's now possible to mock an undefined PHP function.