[PHP-DEV] CVS Account Request: umut

2002-11-16 Thread Umut Demirhan
I want to be a part of the translation of php manual page to Turkish project. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] MySQL ext - News

2002-11-16 Thread nicos
Hello, While Zak, Georg and Zeev are working on ext/mysql, why not adding a way to verify if a database and a table exists? like mysql_database_exists() and mysql_table_exists() ? It's easy to verify with the table/database list. Regards M.CHAILLAN Nicolas [EMAIL PROTECTED]

Re: [PHP-DEV] MySQL ext - News

2002-11-16 Thread Markus Fischer
On Sat, Nov 16, 2002 at 02:08:37PM +0100, [EMAIL PROTECTED] wrote : While Zak, Georg and Zeev are working on ext/mysql, why not adding a way to verify if a database and a table exists? like mysql_database_exists() and mysql_table_exists() ? It's easy to verify with the

[PHP-DEV] Re: MySQL ext - News

2002-11-16 Thread Melvyn Sopacua
On Sat, 16 Nov 2002 [EMAIL PROTECTED] wrote: Hello, While Zak, Georg and Zeev are working on ext/mysql, why not adding a way to verify if a database and a table exists? like mysql_database_exists() and mysql_table_exists() ? What would be the use? DROP TABLE IF EXISTS CREATE TABLE IF

Re: [PHP-DEV] MySQL ext - News

2002-11-16 Thread nicos
Okay I follow you with this point. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Markus Fischer [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] On Sat, Nov 16, 2002 at 02:08:37PM +0100, [EMAIL PROTECTED] wrote : While Zak,

[PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Michael Mauch
[EMAIL PROTECTED] wrote: ID: 19259 Updated by: [EMAIL PROTECTED] -Summary: usort() leaves array unsorted Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Critical Bug Type: Arrays related -Operating System: OSF1 V4.0 1229

[PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Michael Mauch
I wrote: These test results scared me as well, but it looks like this array test itsself is flawed: it relies on the fact that integers automatically wrap around to negative values at INT_MAX (=2147483647 on 32 bit machines). Attaching a patch for the array test: I changed the array in

Re: [PHP-DEV] ZEND_ADD_STRING patch

2002-11-16 Thread George Schlossnagle
Hi, There is a problem with the patch committed. It incorrectly tokenizes things like $foo = %-{$bar} (this breaks the PEAR installer, amongst other things) I've attached a fix for it. Also, it looks like you didn't accept the part of the fix that allows for enhanced handling of heredocs.

[PHP-DEV] account update request

2002-11-16 Thread Sebastian Nohn
could someone please give me (nohn) php4 karma? Regards, Sebastian Nohn -- [EMAIL PROTECTED] - http://www.nohn.net/ PGP Key Available - Did I help you? Consider a gift: http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/ -- PHP Development Mailing List http://www.php.net/ To

RE: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Sebastian Nohn
-Original Message- From: Michael Mauch [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 4:29 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work I wrote: These test results scared me as well, but it looks like this array

Re: [PHP-DEV] ZEND_ADD_STRING patch

2002-11-16 Thread Andi Gutmans
At 11:35 AM 11/16/2002 -0500, George Schlossnagle wrote: Hi, There is a problem with the patch committed. It incorrectly tokenizes things like $foo = %-{$bar} (this breaks the PEAR installer, amongst other things) I've attached a fix for it. Also, it looks like you didn't accept the part

Re: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Marcus Börger
Thanks it looks good - applied. marcus At 16:29 16.11.2002, Michael Mauch wrote: I wrote: These test results scared me as well, but it looks like this array test itsself is flawed: it relies on the fact that integers automatically wrap around to negative values at INT_MAX (=2147483647 on 32

Re: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Michael Mauch
Marcus Börger [EMAIL PROTECTED] wrote: Thanks it looks good - applied. Thanks, great. While we're at it, there's another test which fails on 64 bit machines and can easily be fixed: var_dump float test [ext/standard/tests/general_functions/008.phpt] This test fails because 123456789012 and

[PHP-DEV] Aggregation ZE2 fix

2002-11-16 Thread Marcus Börger
With the following patch aggregation works for me with ZE1 and ZE2, php 4.3.0 and php4.4-dev. If noone objects i will commit this. marcus cvs -z3 -q diff aggregation.c (in directory S:\php4-HEAD\ext\standard) Index: aggregation.c

Re: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Marcus Börger
Could you try the following patch instead? cvs -z3 -q diff 008.phpt (in directory S:\php4-HEAD\ext\standard\tests\general_functions) Index: 008.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/008.phpt,v

Re: [PHP-DEV] Re: #19259 [Csd-Ctl]: sort-functions don't work

2002-11-16 Thread Marcus Börger
Ups one missing: cvs -z3 -q diff 008.phpt (in directory S:\php4-HEAD\ext\standard\tests\general_functions\) Index: 008.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/008.phpt,v retrieving revision 1.1 diff

[PHP-DEV] Re: : sort-functions don't work

2002-11-16 Thread Michael Mauch
Marcus Börger wrote: Ups one missing: cvs -z3 -q diff 008.phpt (in directory S:\php4-HEAD\ext\standard\tests\general_functions\) Index: 008.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/008.phpt,v

[PHP-DEV] [PATCH]s New Function getanyrr() proposal

2002-11-16 Thread Pollita
The three attached patch files (to be applied in ext/standard/ ) introduce a new function: getanyrr(). Where the existing getmxrr() will retrieve MX records for a given host, getanyrr() will return all standard INET DNS Resource Records. proto: array getanyrr(string hostname [, string type[,

[PHP-DEV] ext/standard/tests/math/log.phpt coredump on Tru64

2002-11-16 Thread Michael Mauch
Hi, php4-STABLE-200211152030 dumps core on Tru64/Alpha with ext/standard/tests/math/log.phpt: EXPECTED OUTPUT On failure, please mail result to [EMAIL PROTECTED] 200 50 50 50 50 50 50 50 50 50 ACTUAL OUTPUT On failure, please mail result to [EMAIL PROTECTED] 200 FAILED Looking

[PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal

2002-11-16 Thread nicos
Hello all, After having reviewed this one, I saw few changes to do, I asked Pollita and he did them. He is sending a new patch and I vote +1 for it. Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Pollita [EMAIL PROTECTED] a écrit dans le

[PHP-DEV] [PATH] update to earlier proposed patch for getanyrr() function addition

2002-11-16 Thread Pollita
Per corrections suggested by [EMAIL PROTECTED], attached is a revised pacth to ext/standard/dns.c for addition of getanyrr() function. --- dns.c Sat Nov 16 13:31:51 2002 +++ dns.c Sat Nov 16 15:04:07 2002 @@ -16,7 +16,7 @@

[PHP-DEV] Re: [PATH] update to earlier proposed patch for getanyrr() function addition

2002-11-16 Thread nicos
Hello, You should definitly add RETURN_TRUE; at the end of the PHP_FUNCTION(). Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Pollita [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Per corrections suggested by [EMAIL

Re: [PHP-DEV] ZEND_ADD_STRING patch

2002-11-16 Thread George Schlossnagle
Here's the patch. Looks like everything but the heredoc part is in cvs now. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PATCH]s New Function getanyrr() proposal

2002-11-16 Thread Derick Rethans
On Sat, 16 Nov 2002 [EMAIL PROTECTED] wrote: After having reviewed this one, I saw few changes to do, I asked Pollita and he did them. He is sending a new patch and I vote +1 for it. I would favor discussing those private things on the developers list, as it's exactly meant for that.

[PHP-DEV] Patch for ext/standard/tests/time/001.phpt

2002-11-16 Thread Michael Mauch
ext/standard/tests/time/001.phpt fails on Tru64, because the gettimeofday(2) C library function has not enough granularity in the standard configuration. http://www2.tru64.org/pages.php?page=Tru64-FAQ-Programming says that the clock's granularity is 1024 Hz normally, but can be increased by

Re: [PHP-DEV] [PATH] update to earlier proposed patch for getanyrr() function addition

2002-11-16 Thread Marcus Börger
Function is nice but the function name is not. Attached is a second revised patch that fixes the build problems. marcus At 00:11 17.11.2002, Pollita wrote: Per corrections suggested by [EMAIL PROTECTED], attached is a revised pacth to ext/standard/dns.c for addition of getanyrr() function. --

Re: [PHP-DEV] ext/standard/tests/math/log.phpt coredump on Tru64

2002-11-16 Thread Pollita
log(0) in any base (except 0, which would be silly) is an undefined number. the libc log() function will return an exceedingly small number to avoid causing widepsread panic when log(0) is attempted (-1.7976931348623E+308 shown below). The test function for log: $x2 = (int) pow($base, log($x,

[PHP-DEV] Patch for ext/standard/tests/math/hexdec.phpt

2002-11-16 Thread Michael Mauch
The hexdec test fails on 64 bit machines, because two big numbers still fit into a PHP integer (on 32 bit, these are automatically converted into floats):

Re: [PHP-DEV] [PATH] update to earlier proposed patch for getanyrr() function addition

2002-11-16 Thread nicos
Hello, Who can commit that now? Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Marcus Börger [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Function is nice but the function name is not. Attached is a second revised

[PHP-DEV] CVS Account Request: pollita

2002-11-16 Thread Sara Golemon
Address open items on bugs.php.net, developing patches where appropriate. Also propose extensions such as my recent contributions to log() and the pending function getanyrr(). -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: CVS Account Request: pollita

2002-11-16 Thread nicos
Hello, Nice to see you finally asking for an account. It would be really nice to see you joining the party :-) Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Sara Golemon [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL

[PHP-DEV] Re: Aggregation ZE2 fix

2002-11-16 Thread Andrei Zmievski
On Sat, 16 Nov 2002, Marcus Börger wrote: With the following patch aggregation works for me with ZE1 and ZE2, php 4.3.0 and php4.4-dev. If noone objects i will commit this. Aggregation will be implemented at the engine level in ZE2. Don't commit this patch. -Andrei