CVS update: php4/ext/standard
| From: | thies | Date: | Tue, 22 Jun 1999 21:37:44 +0000 |
| Subject: | CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1671@lists.php.net to get a copy of this message | ||
Date: Tuesday June 22, 1999 @ 17:37
Author: thies
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv17154/php4/ext/standard
Modified Files:
basic_functions.c
Log Message:
gettype now reports "boolean" correct
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.34 php4/ext/standard/basic_functions.c:1.35
--- php4/ext/standard/basic_functions.c:1.34 Wed Jun 16 13:06:51 1999
+++ php4/ext/standard/basic_functions.c Tue Jun 22 17:37:43 1999
@@ -1245,6 +1245,9 @@
WRONG_PARAM_COUNT;
}
switch (arg->type) {
+ case IS_BOOL:
+ RETVAL_STRING("boolean",1);
+ break;
case IS_LONG:
RETVAL_STRING("integer",1);
break;