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

License: PHP License

Latest releases

Version Release Download
6.1.2 2020-06-30 uopz-6.1.2.tgz
6.1.1 2019-09-18 uopz-6.1.1.tgz
6.1.0 2019-05-27 uopz-6.1.0.tgz
6.0.1 2019-02-06 uopz-6.0.1.tgz
6.0.0 2019-01-30 uopz-6.0.0.tgz
Show all releases

Changelog

Version Message
6.1.2 - make UOPZ compatible with Xdebug again (2.9.4+ required)
6.1.1 - Fix compatibility with 7.4.0RC1
- Fix gh#110 uopz_set_mock function does not work if xdebug is loaded
6.1.0 - Fix #109 uopz_set_hook closure receive extra arguments when function call
through call_user_func and call_user_func_array
- 7.4 support
6.0.1 - Add "uopz.exit" configuration option, to allow the execution of exit
opcodes or not (default=0 to keep current behavior)
- Improve opcache optimizer compatibility
- Display ini settings in module info
6.0.0 - Breaking change to uopz_set_mock: now behaves like the old test-helpers new overload
- Fixed redefine/undefine namespaced constants
- Fix flags being ignored when adding functions
- Remove executor hook for maximum compatibility
Show complete changelog