PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
pecl
install uopz
User Operations for Zend
The uopz extension is focused on providing utilities to aid with unit testing PHP code.
It supports the following activities:
* Intercepting function execution
* Intercepting object creation
* Hooking into function execution
* Manipulation of function statics
* Manipulation of function flags
* Redefinition of constants
* Deletion of constants
* Runtime creation of functions and methods
Maintainer
Details
Stars: | 349 |
Issue openned: | 10 |
Downloads: | 741078 |
- Fix #89 uopz_flags bugs on 64bit windows
- Fix #87 segfault when hook throws fatal error
- Fix #86 interface support for uopz_set_return
- Fix #85 cuf/cufa bugs
- Fix #76 uopz_extend changing linkage
- Fix #73 cuf/cufa bugs
- Fix #68 hang when using anon class as mock
- Fix #64 segfault after uopz_set_static
- Fix #63 class constant redefinition depends on opcache
- Fix #61 mocking not working with xdebug
- Fix #51 hooks and returns bug
- Fix #42 uopz_set_mock not working in some cases
- Fix PHP 7.3 compatibility
requires: