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:
@@ -2,6 +2,7 @@
|
||||
GH-10251 (Assertion `(flag & (1<<3)) == 0' failed.)
|
||||
--FILE--
|
||||
<?php
|
||||
#[\AllowDynamicProperties]
|
||||
class A
|
||||
{
|
||||
function __set($o, $l)
|
||||
|
||||
Reference in New Issue
Block a user