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>
This commit is contained in:
Máté Kocsis 2020-03-27 23:39:49 +01:00
parent 4bc1d8333a
commit aec4c0fd03
No known key found for this signature in database
GPG key ID: FD055E41728BF310
55 changed files with 927 additions and 15 deletions

View file

@ -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()