Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Lester Caine
Christian Schneider wrote: Andi Gutmans wrote: PHP has long suffered from poor implementations of some of the DB extensions and good implementations of others. PDO is a good opportunity to unify the extensions and have a common code base so that bug fixes Excuse my ignorance, maybe I missed the

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread D . Walsh
On Feb 15, 2005, at 00:26, Rasmus Lerdorf wrote: D.Walsh wrote: On Feb 14, 2005, at 23:49, Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 10.

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Rasmus Lerdorf
Ryan King wrote: On Feb 14, 2005, at 9:26 PM, Rasmus Lerdorf wrote: D.Walsh wrote: On Feb 14, 2005, at 23:49, Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay.

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Ryan King
On Feb 14, 2005, at 9:26 PM, Rasmus Lerdorf wrote: D.Walsh wrote: On Feb 14, 2005, at 23:49, Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 1

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Rasmus Lerdorf
D.Walsh wrote: On Feb 14, 2005, at 23:49, Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 10.3 machine with me here at LinuxWorld, so I can't

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread D . Walsh
On Feb 14, 2005, at 23:49, Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 10.3 machine with me here at LinuxWorld, so I can't check that. OSX

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP

2005-02-14 Thread Adam Maccabee Trachtenberg
On Mon, 14 Feb 2005, Wez Furlong wrote: > I was talking with George about this at lunch today. If we really > really do require the new version, then we should add a configure > check to enforce it, otherwise we should use appropriate #ifdefs. Agreed. If we're requiring it, we need to modify the

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Rasmus Lerdorf
Adam Maccabee Trachtenberg wrote: Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 10.3 machine with me here at LinuxWorld, so I can't check that. 2.6.7 in 10.3.8 and 2.6.11 in

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Adam Maccabee Trachtenberg
Well, that's below 2.5.11, which is what we currently require, so those folks are already out of luck. Meanwhile, Mac OS 10.4 is at 2.6.16, so that's okay. I don't have a 10.3 machine with me here at LinuxWorld, so I can't check that. -adam On Mon, 14 Feb 2005, Wez Furlong wrote: > Meanwhile, R

Re: [PHP-DEV] Extension DLL Objects

2005-02-14 Thread Alan Knowles
Midgard code is probably the one to look at, but the object code in PHP5 is alot easier to work with. Regards Alan On Mon, 2005-02-14 at 21:24 -0500, Chris Cranford wrote: > And I should also mention I'm trying to do this for PHPv4 and not v5. > I'm not sure if that affects how the coding is done

Re: [PHP-DEV] Extension DLL Objects

2005-02-14 Thread Chris Cranford
And I should also mention I'm trying to do this for PHPv4 and not v5. I'm not sure if that affects how the coding is done or not as I'm quite new to all this. - Original Message - From: "Alan Knowles" <[EMAIL PROTECTED]> To: "Chris Cranford" <[EMAIL PROTECTED]> Cc: Sent: Monday, February

Re: [PHP-DEV] Extension DLL Objects

2005-02-14 Thread Alan Knowles
have a look at dbdo in cvs.php.net/pecl/dbdo, or look at the source for the midgard php extension, both of them do this. Regards Alan On Mon, 2005-02-14 at 18:40 -0500, Chris Cranford wrote: > I want to have a function that returns an object that essentially looks like > the following: > > $user

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Wez Furlong
Meanwhile, RHEL customers are on libxml2-2.5.10-6. --Wez. On Mon, 14 Feb 2005 20:14:01 -0500, Mike Robinson <[EMAIL PROTECTED]> wrote: > I believe Debian and Fedora (Core 3) is up to 2.6.11 or better. > IMHO requiring 2.6.x isn't too much of a stretch. -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP

2005-02-14 Thread Wez Furlong
I was talking with George about this at lunch today. If we really really do require the new version, then we should add a configure check to enforce it, otherwise we should use appropriate #ifdefs. Why? Everytime we go to upgrade PHP, we find that we need to upgrade libxml2 as well. While it's

Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Wez Furlong
That's also something of a hack (PDO core doesn't and shouldn't know about mysql specific features). It's better to have a generic mechanism for this, such as the "interfaces" idea I mentioned a couple of years back. I don't think there will be time to wedge that into 5.1 though :-/ --Wez. On

RE: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-14 Thread Mike Robinson
I believe Debian and Fedora (Core 3) is up to 2.6.11 or better. IMHO requiring 2.6.x isn't too much of a stretch. mike > -Original Message- > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > Sent: February 14, 2005 7:28 PM > To: Adam Maccabee Trachtenberg; Christian Stocker > Cc: PHPdev

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP

2005-02-14 Thread Christian Schneider
Andi Gutmans wrote: What's the status of 2.6.x in Linux distributions? Is it already standard in the latest SUSE/Redhat distros? SuSE 8.1: libxml2-2.4.23 SuSE 8.2: libxml2-2.5.3 SuSE 9.0: libxml2-2.5.10 SuSE 9.1: libxml2-2.6.7 SuSE 9.2: libxml2-2.6.12 I'd say that at least SuSE 8.2 and 9.0 are sti

Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Alan Knowles
It would be usefull if there was a shared struct for this in pdo core: eg. (in /ext/pdo/php_pdo_drivers_extras.h) (mysql_do_something_ptr *) mysql_do_something(pdo_stmt_t *,char * an_argument) pdo_driver_extras_mysql { mysql_do_something_ptr *mysql_do_something, } So th

Re: [PHP-DEV] Hardened-PHP and variable filtering extensions...

2005-02-14 Thread Andi Gutmans
At 06:43 PM 2/14/2005 +0100, Stefan Esser wrote: Hello, recently there was a discussion on this list about variable filtering within PHP. Because of this discussion I have put a preview of Hardened-PHP 0.3.0 online at hardened-php.net. (This preview does not contain all new features but the vari

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP 5.1?

2005-02-14 Thread Andi Gutmans
What's the status of 2.6.x in Linux distributions? Is it already standard in the latest SUSE/Redhat distros? Andi At 12:34 PM 2/13/2005 -0500, Adam Maccabee Trachtenberg wrote: On Sun, 13 Feb 2005, Christian Stocker wrote: > Which is still less than 2.5.11, which is required for 5.0. Therefore >

[PHP-DEV] Extension DLL Objects

2005-02-14 Thread Chris Cranford
I want to have a function that returns an object that essentially looks like the following: $user->name; // string that holds name of user $user->from; // string that holds where user is from $user->update(); // method that updates changed user data to db (**unsure how to code this) In my php scr

Re: FW: [PHP-DEV] Autoboxing in php 5.1

2005-02-14 Thread Christian Stocker
On 14.2.2005 23:42 Uhr, David Kingma | jool.nl wrote: Hi Chegru -Original Message- I'm currently trying to add the Canonicalization functionality, but since I'm not a C expert, it takes a while :) Shouldn't be to hard, if your talking about the functions described at http://xmlsoft.org

[PHP-DEV] Re: [PECL-CVS] cvs: pecl /xmlrpci CREDITS EXPERIMENTALconfig.m4 config.w32 php_xmlrpci.h xmlrpci.c

2005-02-14 Thread l0t3k
i've only looked at it briefly, but seems to use PHP5 method overloading to support cleaner remote calls $client = new xmlrpc($remote_ip); $result = $client->remoteMethodName($args); "Andi Gutmans" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey John, > > Didn't comp

[PHP-DEV] Re: [PECL-CVS] cvs: pecl /xmlrpci CREDITS EXPERIMENTAL config.m4 config.w32 php_xmlrpci.h xmlrpci.c

2005-02-14 Thread Andi Gutmans
Hey John, Didn't compare this API to ext/xmlrpc. Is it the same? If so, wouldn't it make sense to migrate ext/xmlrpc to the new libxml2 implementation? Does it require a complete rewrite? I'm not quite sure what we should do we this. Should we just look for another maintainer for ext/xmlrpc? An

Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Andi Gutmans
Yes I very much agree with Wez. PHP has long suffered from poor implementations of some of the DB extensions and good implementations of others. PDO is a good opportunity to unify the extensions and have a common code base so that bug fixes propagate to all extensions (at least in most cases). O

Re: [PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Antony Dovgal
On Mon, 14 Feb 2005 17:32:42 -0500 Wez Furlong <[EMAIL PROTECTED]> wrote: > On Tue, 15 Feb 2005 01:16:58 +0300, Antony Dovgal <[EMAIL PROTECTED]> > wrote: > > > > Wez, PDO + PDO_OCI seems to be rather usable, BUT: > > > > I got segfault on shutdown everytime. > > > Nope, this is something differ

Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Wez Furlong
Depends on the functionality. Drivers are free(*) to implement driver specific methods on the PDO and PDOStatement objects, provided they are "namespaced" eg: $db->mysqlDoSomething() would be a mysql driver specific feature. More generic attributes can be accessed or set via the get/setAttribu

RE: FW: [PHP-DEV] Autoboxing in php 5.1

2005-02-14 Thread David Kingma | jool.nl
Hi Chegru > -Original Message- > > I'm currently trying to add the Canonicalization functionality, but > > since I'm not a C expert, it takes a while :) > > Shouldn't be to hard, if your talking about the functions described at > > http://xmlsoft.org/html/libxml-c14n.html > That's in

Re: [PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Wez Furlong
On Mon, 14 Feb 2005 17:32:42 -0500, Wez Furlong <[EMAIL PROTECTED]> wrote: > On Tue, 15 Feb 2005 01:16:58 +0300, Antony Dovgal <[EMAIL PROTECTED]> wrote: > > > > Wez, PDO + PDO_OCI seems to be rather usable, BUT: > > > > I got segfault on shutdown everytime. > > > Nope, this is something different

Re: [PHP-DEV] Re: Please test PDO

2005-02-14 Thread Christian Schneider
Andi Gutmans wrote: PHP has long suffered from poor implementations of some of the DB extensions and good implementations of others. PDO is a good opportunity to unify the extensions and have a common code base so that bug fixes Excuse my ignorance, maybe I missed the answer to Lester's question

Re: [PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Antony Dovgal
On Mon, 14 Feb 2005 10:29:39 -0500 Wez Furlong <[EMAIL PROTECTED]> wrote: > Thanks Tony, > > On Mon, 14 Feb 2005 15:52:11 +0300, Antony Dovgal <[EMAIL PROTECTED]> > wrote: > > Wez, PDO + PDO_OCI seems to be rather usable, BUT: > > I got segfault on shutdown everytime. > > Hmm, I found that I had

Re: [PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Wez Furlong
On Tue, 15 Feb 2005 01:16:58 +0300, Antony Dovgal <[EMAIL PROTECTED]> wrote: > > > Wez, PDO + PDO_OCI seems to be rather usable, BUT: > > > I got segfault on shutdown everytime. > Nope, this is something different.. > Could you look into it, plz? Backtrace? --Wez. -- PHP Internals - PHP Runti

FW: [PHP-DEV] Re: A question about php_streams

2005-02-14 Thread Mikey
So, no takers for this question then? :-( > -Original Message- > From: Mikey [mailto:[EMAIL PROTECTED] > Sent: 12 February 2005 11:41 > To: PHP Internals > Subject: [PHP-DEV] Re: A question about php_streams > > OK, I have built apache and php from scratch (was only php > that I built

[PHP-DEV] cancel <[EMAIL PROTECTED]>

2005-02-14 Thread nick . telford
This message was cancelled from within Mozilla. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] AMD64 and libdir Broken?

2005-02-14 Thread Hans Zaunere
> >> I am still quite skeptical of this bundled libtool idea. It is > >> currently broken even on mainstream systems such as Debian x86 where > >> do to the crappy packaging it is really important that people can > >> build their own. See http://lerdorf.com/php/libtool.txt for a > >> ./buildcon

[PHP-DEV] cancel <[EMAIL PROTECTED]>

2005-02-14 Thread nick . telford
This message was cancelled from within Mozilla. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Hardened-PHP and variable filtering extensions...

2005-02-14 Thread Stefan Esser
Hello, recently there was a discussion on this list about variable filtering within PHP. Because of this discussion I have put a preview of Hardened-PHP 0.3.0 online at hardened-php.net. (This preview does not contain all new features but the variable filtering relevant ones. It adds the follow

Re: [PHP-DEV] php suggestion

2005-02-14 Thread Nicholas Telford
David Kingma | jool.nl wrote: Quoting Ante Drnasin <[EMAIL PROTECTED]>: ex1: function AddToDb(mysql_scape_string($text)) { //enter $text to db } which would be the same as function AddToDb($text) { $text = mysql_escape_string($text); //enter $text to db } ex2: function removeDigitsFromT

[PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Antony Dovgal
On Fri, 11 Feb 2005 19:55:09 -0500 Wez Furlong <[EMAIL PROTECTED]> wrote: > It's the weekend, time for relaxation and recreational hacking. > The perfect opportunity to give PDO a whirl :-) > > Please *do* try it out soon as you can; with PHP 5.1 beta due on the > first of March, it's really impo

Re: [PHP-DEV] php suggestion

2005-02-14 Thread Nicholas Telford
David Kingma | jool.nl wrote: Quoting Ante Drnasin <[EMAIL PROTECTED]>: ex1: function AddToDb(mysql_scape_string($text)) { //enter $text to db } which would be the same as function AddToDb($text) { $text = mysql_escape_string($text); //enter $text to db } ex2: function removeDigitsFromT

[PHP-DEV] Returnng Object

2005-02-14 Thread Chris Cranford
I have been able to create objects in a function call in my extension and use them in my php page; however I would rather do something like: $myobj = myfunc(); echo $myobj->property; How am I suppose to return an object from a function? -- PHP Internals - PHP Runtime Development Mailing Lis

Re: [PHP-DEV] [PATCH] install ext/gd headers

2005-02-14 Thread Joe Orton
On Thu, Feb 10, 2005 at 03:21:45PM +0200, Jani Taskinen wrote: > > While this patch works fine, what if you don't actually have > GD installed in your PHP? There should be a configure macro > that adds the headers when really needed.. Good point. OK, how about this instead: Index: sc

Re: [PHP-DEV] php suggestion

2005-02-14 Thread George Schlossnagle
I know this concept looks a bit strange but just wanted to hear oppinions from the experts... :) This concept looks strange (and non-standard - do any other languages support this semantic?). It doesn't save you much typing either. George -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] Re: [PECL-DEV] Please test PDO

2005-02-14 Thread Wez Furlong
Thanks Tony, On Mon, 14 Feb 2005 15:52:11 +0300, Antony Dovgal <[EMAIL PROTECTED]> wrote: > Wez, PDO + PDO_OCI seems to be rather usable, BUT: > I got segfault on shutdown everytime. Hmm, I found that I had to set the db and stmt handles to null prior to exiting the script to avoid a crash (that

[PHP-DEV] Re: php suggestion

2005-02-14 Thread Christian Schneider
Hey Ante, Ante Drnasin wrote: I would just like to hear you oppinions about something like this...(please don't shoot me :) ) ex1: function AddToDb(mysql_scape_string($text)) { I'd say it's not too useful but opens up a can of worms: - You're adding code to a declaration, IMHO confusing - How com

Re: [PHP-DEV] php suggestion

2005-02-14 Thread David Kingma | jool.nl
Quoting Ante Drnasin <[EMAIL PROTECTED]>: > ex1: > function AddToDb(mysql_scape_string($text)) { > //enter $text to db > } > which would be the same as > function AddToDb($text) { > $text = mysql_escape_string($text); > //enter $text to db > } > > ex2: > > function removeDigitsFrom

[PHP-DEV] php suggestion

2005-02-14 Thread Ante Drnasin
Hi again guys I would just like to hear you oppinions about something like this...(please don't shoot me :) ) ex1: function AddToDb(mysql_scape_string($text)) { //enter $text to db } which would be the same as function AddToDb($text) { $text = mysql_escape_string($text); //enter $

[PHP-DEV] PHP 5 Bug Summary Report

2005-02-14 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (458 total including feature requests) ===[*Configuration Issues] 29478 Open ignore_user_abort not in php.ini 29971 Open variables_order behaviour 31867 Open

[PHP-DEV] PHP 4 Bug Summary Report

2005-02-14 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (786 total including feature requests) ===[*General Issues]== 27372 Verified parse error loading browscap.ini at apache startup (new parser required) ===