summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-06-03 17:56:13 -0500
committerAaron Piotrowski <aaron@trowski.com>2016-06-03 17:56:13 -0500
commit340a00008d05044fa0cc9a7948cf752cad08cb85 (patch)
treec19d875e9d6d7c78474fe13727a9246bd5a94840 /Zend/zend_API.c
parent0e221cb3ebea3ebe4e3ec6cd824b22748efc36b8 (diff)
downloadphp-git-340a00008d05044fa0cc9a7948cf752cad08cb85.tar.gz
Add iterable to zend_get_type_by_const()
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 0ecbe0e278..d6350502ff 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: