|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-17 06:31 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 07:00:01 2026 UTC |
In a uksort() function, the definition of the user-compare function is something like: function compare($a,$b) { ... } In that compare function, $a and $b have null data appended to them. For example, put this inside the compare function: echo urlencode($a); and you will get something like: keyvalue%00 I can solve this by trim()-ing $a and $b all the time, but I think this is more of a bug that should be fixed internally. - Colin