Fix recently introduced gh10251.phpt

As of PHP 8.2.0, creation of dynamic properties is deprecated, so we
slap a `AllowDynamicProperties` attribute on the class.
This commit is contained in:
Christoph M. Becker 2023-01-08 18:04:10 +01:00
parent e308dc0635
commit 6faeb9571d
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -2,6 +2,7 @@
GH-10251 (Assertion `(flag & (1<<3)) == 0' failed.)
--FILE--
<?php
#[\AllowDynamicProperties]
class A
{
function __set($o, $l)