[php-src] Issue #7854: Segfault with built-in webserver on one-arm match statement

From: Date: Wed, 29 Dec 2021 20:11:17 +0000
Subject: [php-src] Issue #7854: Segfault with built-in webserver on one-arm match statement
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238641@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7854 Comment Author: Firehed Quick update: if I have a more complex value in the match arm, it also doesn't seem to occur. This is fine: ```php [$key, $value] = match (true) { $entity instanceof Foo => ['foo', ['id' => $entity->getId()]], }; ``` This is not, and continues to segfault the built-in webserver: ```php [$key, $value] = match (true) { $entity instanceof Foo => ['foo', []], }; ```

« previous php.bugs (#238641) next »