1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

@- Added NULL-support in gettype(). (Thies)

This commit is contained in:
Thies C. Arntzen
2000-02-10 15:51:50 +00:00
parent 992e808451
commit 4a824eb8cb
+3
View File
@@ -715,6 +715,9 @@ PHP_FUNCTION(gettype)
WRONG_PARAM_COUNT;
}
switch ((*arg)->type) {
case IS_NULL:
RETVAL_STRING("NULL",1);
break;
case IS_BOOL:
RETVAL_STRING("boolean",1);
break;