uopz 5.0.2

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

Changes

- add uopz.disable ini switch (default 0)
- fix gh#43: setting hook on __invoke method doesn't work on call_user_func
- fix gh#48: segmentation fault (uopz_set_return)
- add 4 new functions:
- uopz_call_user_func(callable function, ... args)
- uopz_get_exit_status()
- uopz_allow_exit(bool allow)
- uopz_call_user_func_array(callable function, array args)
- fix PHP 7.1 compatibility
- fix PHP 7.2 compatibility