Comment 0 for bug 2054621

Revision history for this message
Brian Morton (rokclimb15) wrote : PHP crashes on Laravel 9+ with certain extensions

Certain PHP extensions may register an observer of an attribute instantiation using reflection. Since Laravel 9+ makes use of this feature, it's a fairly common case that can be reproduced using the Datadog PHP extension and any Laravel application on Ubuntu Jammy. See https://github.com/DataDog/dd-trace-php/issues/1734

This bug was fixed in PHP 8.1.3 https://bugs.php.net/bug.php?id=81430 in the PR https://github.com/php/php-src/pull/7885/files

I will attach a backport patch.