From 340a00008d05044fa0cc9a7948cf752cad08cb85 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 3 Jun 2016 17:56:13 -0500 Subject: [PATCH] Add iterable to zend_get_type_by_const() --- Zend/zend_API.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 0ecbe0e278d..d6350502ff2 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: