[PHP-DEV] Function names

2001-12-09 Thread Jonas Delfs
Hi - I've read somewhere that PHP4.1.0 (or was it PHP5?) finally will provide some more logic functions names depending on librarys. Something like file_open(), array_extract() instead of fopen() and extract(). Can anyone confirm this? -- Mvh./Best Regards Jonas Delfs, http://delfs.dk -- PHP

[PHP-DEV] possible bug in array_reverse() ?

2001-12-09 Thread Wolfgang Drews
Hi all, i don't know if i got something wrong, therefore no bug-report, as i don't really know, if this is a bug. snipp $ax = array("a" => "alpha", "b" => "bravo", "c" => "charlie", "d" => "delta"); $r = array_reverse($ax); print_r($r); for ($i = 0; $i < count($r); $i++) {

Re: [PHP-DEV] possible bug in array_reverse() ?

2001-12-09 Thread Markus Fischer
On Sun, Dec 09, 2001 at 04:27:35PM +0100, Wolfgang Drews wrote : > Hi all, > > i don't know if i got something wrong, therefore no bug-report, as > i don't really know, if this is a bug. > > snipp > $ax = array("a" => "alpha", "b" => "bravo", "c" => "charlie", > "d" => "de

Re: [PHP-DEV] Function names

2001-12-09 Thread Rasmus Lerdorf
Nope, there are no plans to change the names of the base functions in PHP. -Rasmus On Sun, 9 Dec 2001, Jonas Delfs wrote: > Hi - > > I've read somewhere that PHP4.1.0 (or was it PHP5?) finally will provide > some more logic functions names depending on librarys. Something like > file_open(),

Re: [PHP-DEV] Proporsal for cascadable general HTTP input handler

2001-12-09 Thread Zeev Suraski
What would be the input/output of these input handlers? Zeev At 07:19 09/12/2001, Rui Hirokawa wrote: >Hi, > >I propose a new idea for HTTP input handler to improve security and >multibyte encoding support. > >Currently, user input by POST/GET/Cookie is treated by >internal function php_treat_v

Re: [PHP-DEV] sockets problems & patch

2001-12-09 Thread Thies C. Arntzen
please send a unified diff. i'll look at integrating your changes then! tc On Sat, Dec 08, 2001 at 08:20:56PM -0500, benjamin yates wrote: > > hey all... i've been using the sockets extension pretty extensively for > the past couple months, and it has some real problems. ob

Re: [PHP-DEV] sockets problems & patch

2001-12-09 Thread Sterling Hughes
> > please send a unified diff. > > i'll look at integrating your changes then! > The problem with the zip file he sent is also that a: ]$ diff -uN orig new produces a unified diff with almost all of it being whitespace related, so its near impossible to view the

Re: [PHP-DEV] sockets problems & patch

2001-12-09 Thread Thies C. Arntzen
On Sun, Dec 09, 2001 at 07:42:46PM +0100, Sterling Hughes wrote: > > > > please send a unified diff. > > > > i'll look at integrating your changes then! > > > > The problem with the zip file he sent is also that a: > > ]$ diff -uN orig new > > produces a unified diff

Re: [PHP-DEV] sockets problems & patch

2001-12-09 Thread benjamin yates
> > The problem with the zip file he sent is also that a: > > ]$ diff -uN orig new > > > > produces a unified diff with almost all of it being whitespace > > related, so its near impossible to view the changes... > > that's what i did;-) hmmm i think it's more a cr/lf thing.

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-09 Thread Stig S. Bakken
Andrei Zmievski wrote: > > At 11:50 AM 12/8/01 +0100, Stig S. Bakken wrote: > >You mean a non-precompiled language like PHP. Technically speaking, PHP > >has been compiling for a while. > > Well, I'd call it a bytecode-compilation language, with virtual machine > execution. Not true compilation

Re: [PHP-DEV] Proporsal for cascadable general HTTP input handler

2001-12-09 Thread Rui Hirokawa
The input could be an array pointer for the splited and url decoded input by POST/GET/Cookie. The output could be an array including result or return code of the handler. These handlers should be activated in php_treat_data before php_register_variable_safe(). An example is php_mbstr_encodin

[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

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,

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

[PHP-DEV] ext/pdf libarys

2001-12-09 Thread Andre Gildemeister
hi, I just have looked at the presentation slides to the pdf extension on http://conf.php.net 11/27/2001 Paris PHP Forum PDF Overview (24 slides). Clibpdf and FreePDFlib were called as opensource alternatives under "introduction", but since is ClibPDF completly OpenSource without any commercial l

Re: [PHP-DEV] ext/pdf libarys

2001-12-09 Thread Pierre-Alain Joye
On Mon, 10 Dec 2001 01:46:02 +0100 "Andre Gildemeister" <[EMAIL PROTECTED]> wrote: > hi, > > I just have looked at the presentation slides to the pdf extension on > http://conf.php.net 11/27/2001 Paris PHP Forum PDF Overview (24 slides). > Clibpdf and FreePDFlib were called as opensource alterna

[PHP-DEV] php.ini missing entries for mssql

2001-12-09 Thread benjamin yates
php.ini-dist and -recommended are missing some mssql entries... mssql.timeout mssql.connect_timeout mssql.datetimeconvert also, the mssql error handler needs to store it's string for retrieval, not just the message handler. i patched mine to just fill the same server_message with it