> 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?

Hrm..  There is no way to return VOID from a PHP function.

-Rasmus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to