manage ZEND_DEP_FALIAS in gen_stub

This commit is contained in:
Remi Collet 2020-04-29 13:17:04 +02:00 committed by Remi Collet
parent daaaf2b4ff
commit c3d6a0ac02

View File

@ -443,6 +443,13 @@ class FuncInfo {
);
}
} else {
if ($this->alias && $this->isDeprecated) {
return sprintf(
"\tZEND_DEP_FALIAS(%s, %s, %s)\n",
$this->name, $this->alias->name, $this->getArgInfoName()
);
}
if ($this->alias) {
return sprintf(
"\tZEND_FALIAS(%s, %s, %s)\n",