php-mock/php-mock-prophecy (packagist): Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.
Keywords: BDD|TDD|test|mock|stub|test double|function|prophecy|builtin-functions|php|php-mock