|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-10-03 20:32 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 13:00:01 2025 UTC |
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.