com php-src: Added getext func infos: ext/opcache/Optimizer/zen d_func_info.c
| From: | Xinchen Hui | Date: | Fri, 08 Sep 2017 06:03:24 +0000 |
| Subject: | com php-src: Added getext func infos: ext/opcache/Optimizer/zen d_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99322@lists.php.net to get a copy of this message | ||
Commit: 24e33350ee8603633877f3563a4005d9fc855e13
Author: Xinchen Hui <laruence@gmail.com> Fri, 8 Sep 2017 14:03:24 +0800
Parents: f46ec03fcd288eb5b6289801edc7fe8e437b317c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=24e33350ee8603633877f3563a4005d9fc855e13
Log:
Added getext func infos
Changed paths:
M ext/opcache/Optimizer/zend_func_info.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c
index f11674d..46a6a88 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -1522,6 +1522,23 @@ static const func_info_t func_infos[] = {
F1("filter_list", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG |
MAY_BE_ARRAY_OF_STRING),
F0("filter_id", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),
+ /* ext/gettext */
+ F1("textdomain", MAY_BE_NULL | MAY_BE_STRING),
+ F1("gettext", MAY_BE_NULL | MAY_BE_STRING),
+ F1("_", MAY_BE_NULL | MAY_BE_STRING),
+ F1("dgettext", MAY_BE_NULL | MAY_BE_STRING),
+ F1("dcgettext", MAY_BE_NULL | MAY_BE_STRING),
+ F1("bindtextdomain", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+#if HAVE_NGETTEXT
+ F1("ngettext", MAY_BE_NULL | MAY_BE_STRING),
+#endif
+#if HAVE_DNGETTEXT
+ F1("dcngettext", MAY_BE_NULL | MAY_BE_STRING),
+#endif
+#if HAVE_BIND_TEXTDOMAIN_CODESET
+ F1("bind_textdomain_codeset", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
+#endif
+
};
static HashTable func_info;