cvs: /php4/ext/standard basic_functions.c
| From: | Thies C. Arntzen | Date: | Thu, 10 Feb 2000 15:52:20 +0000 |
| Subject: | cvs: /php4/ext/standard basic_functions.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10027@lists.php.net to get a copy of this message | ||
thies Thu Feb 10 07:52:20 2000 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
@- Added NULL-support in gettype(). (Thies)
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.154 php4/ext/standard/basic_functions.c:1.155
--- php4/ext/standard/basic_functions.c:1.154 Sat Feb 5 07:16:11 2000
+++ php4/ext/standard/basic_functions.c Thu Feb 10 07:51:50 2000
@@ -715,6 +715,9 @@
WRONG_PARAM_COUNT;
}
switch ((*arg)->type) {
+ case IS_NULL:
+ RETVAL_STRING("NULL",1);
+ break;
case IS_BOOL:
RETVAL_STRING("boolean",1);
break;