[php-src] PR #11947: Fix segfault in format_default_value due to unexpected enum/object

From: Date: Sat, 12 Aug 2023 14:29:02 +0000
Subject: [php-src] PR #11947: Fix segfault in format_default_value due to unexpected enum/object
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23356@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11947 Author: iluuu1994 Evaluating constants at comptime can result in arrays that contain objects. This is problematic for printing the default value of constant ASTs containing objects, because we don't actually know what the constructor arguments were. Avoid this by not propagating array constants. I will need to check whether this leads to a performance regression. Fixes GH-11937

« previous php.git-pulls (#23356) next »