mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
4bc1d8333a
commit
aec4c0fd03
55 changed files with 927 additions and 15 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue