com php-src: Make opcache zend_func_info consistent wit h Reflection for ctype: ext/opcache/Optimizer/zend_ func_info.c
| From: | Christoph Michael Becker | Date: | Sun, 16 Jun 2019 09:28:18 +0000 |
| Subject: | com php-src: Make opcache zend_func_info consistent wit h Reflection for ctype: ext/opcache/Optimizer/zend_ func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106814@lists.php.net to get a copy of this message | ||
Commit: 74589cf6768e5f79f77c123c31e1f119f74a2f44
Author: Tyson Andre <tysonandre775@hotmail.com> Sat, 15 Jun 2019 17:20:34 -0400
Committer: Christoph M. Becker <cmbecker69@gmx.de> Sun, 16 Jun 2019 11:28:18 +0200
Parents: 435384127c7d388a5224dff7805c735c57e14165
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=74589cf6768e5f79f77c123c31e1f119f74a2f44
Log:
Make opcache zend_func_info consistent with Reflection for ctype
This follows up with php 8.0 adding a real return type
(non-null bool) in 1409a3b1535e221d8449416d77ed45175f3335d2
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 94dbf74..684831b 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -1318,17 +1318,17 @@ static const func_info_t func_infos[] = {
#endif
/* ext/ctype */
- F0("ctype_alnum", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_alpha", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_cntrl", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_digit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_lower", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_graph", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_print", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_punct", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_space", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_upper", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
- F0("ctype_xdigit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_alnum", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_alpha", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_cntrl", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_digit", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_lower", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_graph", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_print", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_punct", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_space", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_upper", MAY_BE_FALSE | MAY_BE_TRUE),
+ F0("ctype_xdigit", MAY_BE_FALSE | MAY_BE_TRUE),
/* ext/fileinfo */
F1("finfo_open", MAY_BE_FALSE | MAY_BE_RESOURCE),