1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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

View File

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