Skip to content

Commit 6faeb95

Browse files
committed
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.
1 parent e308dc0 commit 6faeb95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/tests/gh10251.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GH-10251 (Assertion `(flag & (1<<3)) == 0' failed.)
33
--FILE--
44
<?php
5+
#[\AllowDynamicProperties]
56
class A
67
{
78
function __set($o, $l)

0 commit comments

Comments
 (0)