Skip to content

Commit c3d6a0a

Browse files
committed
manage ZEND_DEP_FALIAS in gen_stub
1 parent daaaf2b commit c3d6a0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/gen_stub.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,13 @@ public function getFunctionEntry(): string {
443443
);
444444
}
445445
} else {
446+
if ($this->alias && $this->isDeprecated) {
447+
return sprintf(
448+
"\tZEND_DEP_FALIAS(%s, %s, %s)\n",
449+
$this->name, $this->alias->name, $this->getArgInfoName()
450+
);
451+
}
452+
446453
if ($this->alias) {
447454
return sprintf(
448455
"\tZEND_FALIAS(%s, %s, %s)\n",

0 commit comments

Comments
 (0)