uopz icon indicating copy to clipboard operation
uopz copied to clipboard

User Operations for Zend

Results 10 uopz issues
Sort by recently updated
recently updated
newest added

The uopz 7.1.1 PECL page says, that required PHP is 8.0.0 or newer. But I receive next message (Windows): ``` Warning: PHP Startup: uopz: Unable to initialize module Module compiled...

Hi, I'm encountering a blocking segfault caused by uopz_del_function , with the [current last commit of uopz master branch](https://github.com/krakjoe/uopz/commit/8a1a62fd24335ee018ba6c87b120167b79f1902c), phpunit/phpunit:^9.5 in my composer file, inside a docker image with Symfony...

This should handle #172 When `uopz.exit` is disabled, actual call to `exit()` implicitly returns and violates never return type check. I'd appreciate it if @cmb69 or @remicollet could check it...

PHP code: ```php function x(): never { exit(0); }; x(); ``` Throws error: ``` Fatal error: Uncaught TypeError: x(): never-returning function must not implicitly return in Command line code:1 Stack...

Also, is there any reason not to use https://github.com/setup-php/setup-php ?

the implementation of constant redefinition (constant.c) needs a do over, it leaks and will break stuff.

I encountered an issue when trying to use uopz via [clock-mock](https://github.com/slope-it/clock-mock), which tries to use ``` uopz_set_return('date', self::mock_date(), true); ``` The odd error I got said: > failed to set...

bug

PHP: 7.4.30 uopz: 6.1.1 Hi. I'm using this package as a dependency of PHP MockClock. Uopz is installed in a php docker container using the following: ``` # Build extensions...

``` ========DIFF======== -- bool(false) unset bool(true) 010+ 011+ Termsig=11 010- bool(true) 011- string(%d) "Call to private method Foo::priv() from %s" 012- string(%d) "will not replace existing method %s::%s, use uopz_set_return...

There is a segfault in here somewhere, but I haven't been able to narrow down a simple reproduce case. It only seems to happen when I run an entire test...