From: Remi Collet Date: Wed, 29 Apr 2020 11:17:04 +0000 (+0200) Subject: manage ZEND_DEP_FALIAS in gen_stub X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3d6a0ac025b959521a8c54cadc8656894a3da22;p=php manage ZEND_DEP_FALIAS in gen_stub --- diff --git a/build/gen_stub.php b/build/gen_stub.php index 5b2fee0317..4846452219 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -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",