Bugs in ext/standard/array.c
| From: | Christian Dickmann | Date: | Sun, 09 Dec 2001 23:15:46 +0000 |
| Subject: | Bugs in ext/standard/array.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72964@lists.php.net to get a copy of this message | ||
Hi Guys,
i have found some "Bugs" in the PHP source.
1. the XYsort() - functions return boolean on success,
so the prototype is wrong (often void. or int (ksort()))
2. if these functions succeed, they return TRUE,
if not, they return VOID. (example: asort())
to my mind, they should return FALSE on error ...
(like arsort() does!)
Am I wrong?
Christian Dickmann