This commit is contained in:
CismonX 2018-09-15 22:42:57 +08:00
parent e2b2fc0150
commit 8af47a3960
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
zend_array* elements##_arr; \
if (IS_COLLECTION(*elements)) { \
(elements##_arr) = Z_COLLECTION_P(elements); \
} else if (UNEXPECTED(Z_TYPE_P(elements) == IS_ARRAY)) { \
} else if (EXPECTED(Z_TYPE_P(elements) == IS_ARRAY)) { \
(elements##_arr) = Z_ARRVAL_P(elements); \
} else { \
err(); \