Re: [PHP-DEV] Performance problem in Windows between 5.1 & 5.2

2007-04-25 Thread Mauro N. Infantino
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Subject: Re: [PHP-DEV] Performance problem in Windows between > 5.1 & 5.2 > >$file = fopen('/tmp/foo', 'w'); //or whatever. > for ($i = 0; $i < 100; $i++){ > $class = << class foo_$i { > //more stuff he

Re: [PHP-DEV] Performance problem in Windows between 5.1 & 5.2

2007-04-25 Thread Mauro N. Infantino
> -Original Message- > From: Andrew Hutchings [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 4:46 AM > Subject: Re: [PHP-DEV] Performance problem in Windows between > 5.1 & 5.2 > > Try 5.2.0, I found it has no performance hit when compared to 5.1.6. > > Regards > Andrew Hi

Re: [PHP-DEV] Performance problem in Windows between 5.1 & 5.2

2007-04-24 Thread Mauro N. Infantino
> -Original Message- > From: Andrew Hutchings [mailto:[EMAIL PROTECTED] > Subject: [PHP-DEV] Re: Performance problem in Windows between > 5.1 & 5.2 > > I brought this issue up before using Linux, but it was all in my > imagination apparently :) > > Regards > Andrew Thanks for your resp

[PHP-DEV] Datetime problem

2007-03-28 Thread Mauro N. Infantino
Hi all, I know I've asked this before, but I couldn't find a solution (I'm not asking for an easy one, just a viable solution). In my last email I didn't include the reasons for my request, so I'll write them now. When we started with PHP5 there were no built-in PHP classes. This logically means

[PHP-DEV] Linking against bundled libmysql

2006-12-11 Thread Mauro N. Infantino
Hi all, I'm sorry to ask this again, but I can't find the way to compile my custom extension against the bundled libmysql in PHP4 on Windows. I'm trying to fetch a mysql extension resource ( zend_fetch_list_dtor_id("mysql link") & ZEND_FETCH_RESOURCE2 with that id). I'm using header and library fi

[PHP-DEV] Windows extension using mysql resource

2006-12-07 Thread Mauro N. Infantino
Hi, As I mentioned in my last email, we've developed a custom extension for a site, that uses a resource that belongs to the mysql extension. Sara kindly helped me with the "using the mysql resource" part, but now we're having a strange issue. Everything works in Windows and Unix with PHP5, but wh

[PHP-DEV] Re: Cross-extension resource

2006-11-30 Thread Mauro N. Infantino
r your work and specially to you Sara for sharing your knowledge. Regards, Mauro. > -Original Message- > From: Sara Golemon [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 30, 2006 3:42 AM > To: Mauro N. Infantino > Cc: internals@lists.php.net > Subject: [PHP-DEV] R

[PHP-DEV] Cross-extension resource

2006-11-27 Thread Mauro N. Infantino
Hi all, I'm writing an extension in order to achieve better performance in a specific module from our application. Right now, I'm trying to use an already established mysql connection (with mysql_connect) in our extension, so we don't have to connect to the database twice, since that connection is

[PHP-DEV] New Datetime class problem

2006-11-03 Thread Mauro N. Infantino
Hi all, In our current codebase for PHP5.1 we've a class named 'Datetime' (I suppose a lot of people is in the same situation). I'm wondering if there's any chance to add an ini directive in order to disable the definition of the new class. I mean, we had a lot of PHP4 projects and, with two or