Re: Bugs in ext/standard/array.c

From: Date: Sun, 09 Dec 2001 23:36:24 +0000
Subject: Re: Bugs in ext/standard/array.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72965@lists.php.net to get a copy of this message
On Mon, Dec 10, 2001 at 12:15:46AM +0100, Christian Dickmann wrote : > 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!) Damn, we need RC6, Zeev !!!!!! > Am I wrong? Yes and no. These aren't bugs, but a documentation problem and negligible inconsistency ;-) -- Please always Cc to me when replying to me on the lists.

« previous php.dev (#72965) next »