[php-src] Issue #7809: Segmentation fault @ PHP 8.1

From: Date: Wed, 22 Dec 2021 06:32:46 +0000
Subject: [php-src] Issue #7809: Segmentation fault @ PHP 8.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238524@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7809 Author: b1rdex ### Description 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. Test repo: [b1rdex/php-8.1-segfault](https://github.com/b1rdex/php-8.1-segfault) I've opened https://github.com/sebastianbergmann/phpunit/issues/4844 for PHPUnit, but the issue was closed with a piece of advice to report it to PHP. So please see the test repo for the details about the issue. ### PHP Version 8.1.1 ### Operating System Docker official image

« previous php.bugs (#238524) next »