Skip to content

Commit 80f9509

Browse files
committed
Add class alias in dl_test
1 parent 75998d7 commit 80f9509

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

ext/dl_test/dl_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ PHP_MINIT_FUNCTION(dl_test)
107107
register_class_DlTest();
108108
ce = register_class_DlTestSuperClass();
109109
register_class_DlTestSubClass(ce);
110+
register_class_DlTestAliasedClass();
110111

111112
/* Test backwards compatibility */
112113
if (getenv("PHP_DL_TEST_USE_OLD_REGISTER_INI_ENTRIES")) {

ext/dl_test/dl_test.stub.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ public function test(string $str = ""): string {}
2020

2121
class DlTestSubClass extends DlTestSuperClass {
2222
}
23+
24+
/** @alias DlTestClassAlias */
25+
class DlTestAliasedClass {
26+
}

ext/dl_test/dl_test_arginfo.h

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)