Date: 09/29/98
- Next message: and <email protected>: "[PHP-DEV] Bug #798: parse_url() and fopen() reject legal URLs"
- Previous message: ssb: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: libs <email protected>
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 <email protected> For help: php-dev-help <email protected>
- Next message: and <email protected>: "[PHP-DEV] Bug #798: parse_url() and fopen() reject legal URLs"
- Previous message: ssb: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

