diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-03-27 23:39:49 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-22 16:08:12 +0200 |
commit | aec4c0fd031ad557527ff6c888a1b60048bb1cdc (patch) | |
tree | 2f437957be3862d543c45a2db6c4e5e44f9ff1df /Zend/zend_API.c | |
parent | 4bc1d8333aa8b40a6c6fe89762f6b5a4bd309a1c (diff) | |
download | php-git-aec4c0fd031ad557527ff6c888a1b60048bb1cdc.tar.gz |
Add support for the mixed type
RFC: https://wiki.php.net/rfc/mixed_type_v2
Closes GH-5313
Co-authored-by: Dan Ackroyd <danack@basereality.com>
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index cd72a6f156..d7edc4b0a5 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -123,6 +123,8 @@ ZEND_API const char *zend_get_type_by_const(int type) /* {{{ */ return "array"; case IS_VOID: return "void"; + case IS_MIXED: + return "mixed"; case _IS_NUMBER: return "number"; EMPTY_SWITCH_DEFAULT_CASE() |