Closed
Description
Q | A |
---|---|
PHPUnit version | 9.5.10 |
PHP version | 8.1.1 |
Installation Method | Composer |
Summary
We have some code that worked without any issues on PHP 8.0, but it's failing with a segmentation fault on 8.1.
I'm not sure whether it's a PHPUnit or PHP issue... So please see the code. Mock creation triggers the problem.
Current behavior
Segmentation fault.
How to reproduce
Test repo: https://github.com/b1rdex/php-8.1-segfault
Expected behavior
No problem :)