com php-src: Add iterable to zend_get_type_by_const( ): Zend/zend_API.c
| From: | Aaron Piotrowski | Date: | Fri, 03 Jun 2016 22:56:13 +0000 |
| Subject: | com php-src: Add iterable to zend_get_type_by_const( ): Zend/zend_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92303@lists.php.net to get a copy of this message | ||
Commit: 340a00008d05044fa0cc9a7948cf752cad08cb85
Author: Aaron Piotrowski <aaron@trowski.com> Fri, 3 Jun 2016 17:56:13 -0500
Parents: 0e221cb3ebea3ebe4e3ec6cd824b22748efc36b8
Branches: iterable
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=340a00008d05044fa0cc9a7948cf752cad08cb85
Log:
Add iterable to zend_get_type_by_const()
Changed paths:
M Zend/zend_API.c
Diff:
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 0ecbe0e..d635050 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -183,6 +183,8 @@ ZEND_API char *zend_get_type_by_const(int type) /* {{{ */
return "null";
case IS_CALLABLE:
return "callable";
+ case IS_ITERABLE:
+ return "iterable";
case IS_ARRAY:
return "array";
case IS_VOID: