Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Andrei Zmievski
At 03:40 PM 12/9/01 -0800, Rasmus Lerdorf wrote: >Hrm.. There is no way to return VOID from a PHP function. Now that's a joke. -Andrei -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Andrei Zmievski
At 12:44 AM 12/10/01 +0100, Markus Fischer wrote: > > No, we don't! These functions have been this way forever and they > shouldn't > > stop 4.1.0. > > Hey, it was a joke :-) Color me somber, then. :P -Andrei -- PHP Development Mailing List To unsubscribe, e-mail: [

RE: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Wolfgang Drews
Hi Rasmus, > Hrm.. There is no way to return VOID from a PHP function. what he ment was NULL. and thats not boolean. or is it in "Zend- language"? ;) with best regards, -Wolfgang -- Deutscher PHP-Knotenpunkt Dynamic Web Pages: http://www.dynamicwebpages.de Scripte, Tutorials, Installation, B

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Rasmus Lerdorf
> 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

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Markus Fischer
On Sun, Dec 09, 2001 at 05:38:14PM -0600, Andrei Zmievski wrote : > At 12:36 AM 12/10/01 +0100, Markus Fischer wrote: > >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 su

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Andrei Zmievski
At 12:36 AM 12/10/01 +0100, Markus Fischer wrote: >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())) > > >

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Markus Fischer
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,

[PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Christian Dickmann
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