mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02: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:
parent
e308dc0635
commit
6faeb9571d
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
GH-10251 (Assertion `(flag & (1<<3)) == 0' failed.)
|
GH-10251 (Assertion `(flag & (1<<3)) == 0' failed.)
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
class A
|
class A
|
||||||
{
|
{
|
||||||
function __set($o, $l)
|
function __set($o, $l)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue