We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 929bbb2 commit 2c8731dCopy full SHA for 2c8731d
ext/zend_test/tests/gh14109.phpt
@@ -0,0 +1,16 @@
1
+--TEST--
2
+GH-14109: User class extending internal class with attributes
3
+--EXTENSIONS--
4
+zend_test
5
+--FILE--
6
+<?php
7
+class Test extends ZendAttributeTest {}
8
+foreach ((new ReflectionClassConstant(Test::class, 'TEST_CONST'))->getAttributes() as $attribute) {
9
+ var_dump($attribute->newInstance());
10
+}
11
+?>
12
+--EXPECTF--
13
+object(ZendTestRepeatableAttribute)#%d (0) {
14
15
16
0 commit comments