From c3d6a0ac025b959521a8c54cadc8656894a3da22 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Apr 2020 13:17:04 +0200 Subject: [PATCH] manage ZEND_DEP_FALIAS in gen_stub --- build/gen_stub.php | 7 +++++++ 1 file changed, 7 insertions(+) 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", -- 2.50.1