Re: [PHP-DEV] PDO performance

2007-11-14 Thread Alexey Zakhlestin
If there is any difference, it is very small. And, anyway, overhead would turn to nothing comparing to typical query-execution time I've chosen PDO 3 years ago and never really looked at mysqli since then. PDO is a pleasure to work with :) On 11/15/07, Andrew Mason <[EMAIL PROTECTED]> wrote: > H

[PHP-DEV] PDO performance

2007-11-14 Thread Andrew Mason
Hi guys, Just a quick question. I've recently been looking at changing over our code to use the PDO interface to a mysql database. Currently we are using MySQLi but after looking at the PDO interface i personally prefer the way API is presented (not saying mysqli is bad or anything like that...c

Re: [PHP-DEV] pdo_firebird: PDO::ATTR_FETCH_TABLE_NAMES support

2007-11-14 Thread Lars Westermann
Fixed in PHP_5_3 /Lars "Lukas Kahwe Smith" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > > On 14.11.2007, at 16:30, Hans-Peter Oeri wrote: > >> Hi1 >> >> Lukas Kahwe Smith wrote: >>> Driver specific attributes and methods should be prefixed accordingly. >>> What does this o

Re: [PHP-DEV] pdo_firebird: "RETURNING" queries/closeCursor (#43246/43271)

2007-11-14 Thread Lars Westermann
Hi! Well actually there is a maintainer ... I signed up for this about a month ago. I have already fixed bug #43271 - it was an error in firebird_statement_execute() which didn't close an open cursor before making additional attempts to call isc_dsql_execute(). It is fixed in PHP_5_3 branch. c

Re: [PHP-DEV] pdo_firebird: "RETURNING" queries/closeCursor (#43246/43271)

2007-11-14 Thread Nuno Lopes
Hello Hans-Peter, not that I am aware of. EXTENSIONS file doesn't list any and Ard who is listed in CREDITS didn't show up in the last couple of months. Read this: php.net/cvs-php.php and be also prepared to be asked to take care of firebird installation on http://gcov.php.net :-) Ah, sure! La

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Stanislav Malyshev
It will happen at some point because if you try to buy a new machine, _most_ of them come with Vista installed. It won't be very long before they _all_ have Vista installed. Microsoft would be ecstatic if that would happen. :) But frankly, I don't see it really happening in next 2 years. Even

Re: [PHP-DEV] pdo_firebird: PDO::ATTR_FETCH_TABLE_NAMES support

2007-11-14 Thread Lukas Kahwe Smith
On 14.11.2007, at 16:30, Hans-Peter Oeri wrote: Hi1 Lukas Kahwe Smith wrote: Driver specific attributes and methods should be prefixed accordingly. What does this option do btw? Is this about qualifying column names with the table name? In that case this is something that should maybe be a

Re: [PHP-DEV] pdo_firebird: "RETURNING" queries/closeCursor (#43246/43271)

2007-11-14 Thread Marcus Boerger
Hello Hans-Peter, not that I am aware of. EXTENSIONS file doesn't list any and Ard who is listed in CREDITS didn't show up in the last couple of months. Read this: php.net/cvs-php.php and be also prepared to be asked to take care of firebird installation on http://gcov.php.net :-) marcus Wedne

Re: [PHP-DEV] pdo_firebird: PDO::ATTR_FETCH_TABLE_NAMES support

2007-11-14 Thread Hans-Peter Oeri
Hi1 Lukas Kahwe Smith wrote: > Driver specific attributes and methods should be prefixed accordingly. > What does this option do btw? Is this about qualifying column names > with the table name? In that case this is something that should maybe > be a standard attribute, since its also supported by

Re: [PHP-DEV] pdo_firebird: PDO::ATTR_FETCH_TABLE_NAMES support

2007-11-14 Thread Lukas Kahwe Smith
On 14.11.2007, at 15:55, Hans-Peter Oeri wrote: I just needed ATTR_FETCH_TABLE_NAMES support in pdo_firebird. W/o any knowledge about PHP politics, please let me humbly offer the corresponding patch. Driver specific attributes and methods should be prefixed accordingly. What does this option

Re: [PHP-DEV] [Patch] Allow __sleep to return NULL

2007-11-14 Thread Marcus Boerger
Hello Andrew, the patches look fine. Can you include the test change in both HEAD and 5.3 version of an updated patch (it got outdated meanwhile). marcus Tuesday, November 6, 2007, 9:51:19 PM, you wrote: > I've attached a patch (both for HEAD and the PHP_5_3 branch) that allows the > magic _

Re: [PHP-DEV] pdo_firebird: "RETURNING" queries/closeCursor (#43246/43271)

2007-11-14 Thread Hans-Peter Oeri
Hi! Marcus Boerger wrote: > account name, '#if ACCOUNT_0' but oh wait you have none. ;) > Both these patches > as well as thew table stuff patch look fine. Care to get a cvs account for > pdo_firebird? > If it is that easy to get one: yes please. But before I enter (possible) pdo_firebird poli

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Rob Richards
Hi Steph Steph Fox wrote: Rob, Elizabeth is being paid by Microsoft to get a PHP distro with the 2005 CRT onto the official downloads page. I don't think it's beneficial to PHP or its users to take that approach. We have a QA site, and I think if there are to be test distributions then that'

Re: [PHP-DEV] pdo_firebird: "RETURNING" queries/closeCursor (#43246/43271)

2007-11-14 Thread Marcus Boerger
Hello Hans-Peter, please avoid '#if 0' instead follow the CODING_STYLE and use your cvs account name, '#if ACCOUNT_0' but oh wait you have none. Both these patches as well as thew table stuff patch look fine. Care to get a cvs account for pdo_firebird? marcus Tuesday, November 13, 2007, 12:20:

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again) Apology and correction

2007-11-14 Thread Steph Fox
Sorry Elizabeth and Microsoft, I just went through the irc logs and no, you didn't exactly say you were being paid. It was simply the (wrong) impression I came away with. Mea culpa. - Steph - Original Message - From: "Steph Fox" <[EMAIL PROTECTED]> To: ; "Elizabeth Smith" <[EMAIL P

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
Yay, I think we're coming to an agreement :) - Original Message - From: "Elizabeth Smith" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 14, 2007 2:41 PM Subject: Re: [PHP-DEV] Providing Visual Studio 2005 builds (again) Steph Fox wrote: Hi Elizabeth, Oh for goodness sakes Step

[PHP-DEV] pdo_firebird: PDO::ATTR_FETCH_TABLE_NAMES support

2007-11-14 Thread Hans-Peter Oeri
Hi! I just needed ATTR_FETCH_TABLE_NAMES support in pdo_firebird. W/o any knowledge about PHP politics, please let me humbly offer the corresponding patch. For any suggestions, please don't hesitate to contact me. Greets HPO --- php5-orig/ext/pdo_firebird/firebird_driver.c2007-11-12 16:

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Elizabeth Smith
Steph Fox wrote: Anyway, the offer stands to help get libraries up to speed... I'll see if I can get a hold of Edin, I have space and bandwidth if that's his biggest issue. I could argue with you all night Steph, but it's obvious you have an issue with the C runtime changing that Microsoft h

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Elizabeth Smith
Steph Fox wrote: Hi Elizabeth, Oh for goodness sakes Steph, they did ask what it would take to make it happen at the Dev summit, and the guys jokingly said "a free Xbox" but for your information I haven't taken a thing from them nor will I - talk about starting rumors,. I was going on what

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
Hi Elizabeth, Oh for goodness sakes Steph, they did ask what it would take to make it happen at the Dev summit, and the guys jokingly said "a free Xbox" but for your information I haven't taken a thing from them nor will I - talk about starting rumors,. I was going on what you told me in irc

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Elizabeth Smith
Steph Fox wrote: Rob, Elizabeth is being paid by Microsoft to get a PHP distro with the 2005 CRT onto the official downloads page. I don't think it's beneficial to PHP or its users to take that approach. We have a QA site, and I think if there are to be test distributions then that's the plac

[PHP-DEV] CORE GRASP Release update

2007-11-14 Thread Ezequiel Gutesman
Hi all, We have just released an update for CORE GRASP (version 3). In this version, we enhanced mark propagation by implementing marks inside pcre module and provided a first step into cross-site scripting prevention, which will be the focus of our next release. We also fixed some bugs. We appre

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
Hi Richard, It would be useful to see some stats about actual performance increases from using the new runtime. If it is minimal, then cost/benifit isn't great and we are probably going to have to "make-do" for a while on VC6. Agree. But, if MSVC2005EE (Microsoft Visual C++ 2005 Express Edit

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
Rob, Elizabeth is being paid by Microsoft to get a PHP distro with the 2005 CRT onto the official downloads page. I don't think it's beneficial to PHP or its users to take that approach. We have a QA site, and I think if there are to be test distributions then that's the place for them. I've a

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
Hi Elizabeth, Bear in mind that the first part of this discussion (at the start of October) passed me by completely, so I'm arguing in both at present. I wasn't suggesting replacing the current VC6 builds, I was suggesting making 2005 builds available for those who want to test. Since linkin

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Steph Fox
I think what is highly likely to happen over the next two years that will change the situation is that XP usage will drop dramatically. Like, people would move to Vista en masse? Don't see it happening in next two years. Why do it? It will happen at some point because if you try to buy a new

Re: [PHP-DEV] PHP 5.2.3 segfault with syslog standard extension

2007-11-14 Thread Antony Dovgal
Is this what you get after typing 'bt' in GDB console? This doesn't look like a bt I'm used to. Also don't forget to --enable-debug, generating bt without debug symbols makes little sense. It might also help if you print basic_globals contents: (gdb) p basic_globals On 14.11.2007 14:57, Rachmel,

RE: [PHP-DEV] PHP 5.2.3 segfault with syslog standard extension

2007-11-14 Thread Rachmel, Nir (Nir)
Here is a bt, produced from gdb: frame #: stack_frame_ptrbackchain_ptr LR_save_word frame 0: 0x:0x $165 = 0xfe1ca60 frame 1: 0x33ae66f0:0x33ae6710 $166 = 0x33ae6718 frame 2: 0x33ae6710:0x33ae6740 $167 = 0xf8b8288 frame

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Richard Quadling
On 14/11/2007, Rob Richards <[EMAIL PROTECTED]> wrote: > Not to drag this on any longer, but here's my 2 cents on this... > > VC 6 builds are not going away any time soon. They work, are well > supported and have gone through years of testing. > > However, eventually the builds are going to have to

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Rob Richards
Not to drag this on any longer, but here's my 2 cents on this... VC 6 builds are not going away any time soon. They work, are well supported and have gone through years of testing. However, eventually the builds are going to have to be upgraded to newer compilers. With the changing run times,