Bug #797: Mistake in text of error message.
| From: | libs at cybercable dot tm dot fr | Date: | Tue, 29 Sep 1998 07:30:58 +0000 |
| Subject: | Bug #797: Mistake in text of error message. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1541@lists.php.net to get a copy of this message | ||
From: libs@cybercable.tm.fr
Operating system: NA
PHP version: 3.0.4
PHP Bug Type: Misbehaving function
Bug description: Mistake in text of error message.
uksort() works fine, thanks.
There seems to be a cut/paste mistake in the error-handling source
code which incorrectly refers to uasort instead of uksort, though:
In functions/basic_functions.c, near line 921, the bit about :
if (!(array->type & IS_HASH)) {
php3_error(E_WARNING, "Wrong datatype in uasort() call");
^^^^^^
user_compare_func_name = old_compare_func;
return;
}
Should read instead:
if (!(array->type & IS_HASH)) {
php3_error(E_WARNING, "Wrong datatype in uksort() call");
user_compare_func_name = old_compare_func;
return;
}
No big deal.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net