Re: [PHP-DEV] implicit reference

2011-01-31 Thread Reindl Harald
Am 31.01.2011 21:08, schrieb Mathias Grimm: > the constraint is that all need to run on php4.3.6 and 5.3 this need does not exist since php4 died a long time ago and now it's really time that some lazy people wake up everybody who has running php4 on prodcution servers has to be fired - remembe

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Daniel Convissor
Hi Pierre: On Mon, Jan 31, 2011 at 08:43:40PM +0100, Pierre Joye wrote: > > It does not matter what is the latest VC version. What matters is that > VC6 is a dead cow and we won't support it anymore, even for the > current stable, 5.3. And to be honest I don't really care about > Apache.org's use

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 11:33 PM, Stas Malyshev wrote: >> But I strongly believe in a threaded base solution for windows. That's >> the only way to get anywhere close to the performance we can see on >> other platforms (read: posix). > > My experience is that performance differnces between Window

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Stas Malyshev
Hi! But I strongly believe in a threaded base solution for windows. That's the only way to get anywhere close to the performance we can see on other platforms (read: posix). My experience is that performance differnces between Windows and Linux has very little to do with server model, but muc

[PHP-DEV] REMOVE : [PHP-DEV] Re: Zend engine's hashtable performance tweaks

2011-01-31 Thread ca
REMOVE - Original Message - From: Marcin Babij [mailto:marcin.ba...@nasza-klasa.pl] To: internals@lists.php.net,apc-...@lists.php.net Sent: Mon, 31 Jan 2011 12:35:53 +0100 Subject: Re: [PHP-DEV] Re: Zend engine's hashtable performance tweaks Hello, I've managed to change my patch to merge

[PHP-DEV] REMOVE : [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.ctrunk/ext/date/php_date.c

2011-01-31 Thread ca
REMOVE - Original Message - From: William A. Rowe Jr. [mailto:wr...@rowe-clan.net] To: internals@lists.php.net Sent: Mon, 31 Jan 2011 11:28:19 -0600 Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.ctrunk/ext/date/php_date.c On 1/30/2011 10:36 PM

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Julien Pauli
Ow, what a crap idea ... You want to make the same php4-written source code run with PHP4 AND PHP5.3 ? That seems like an unsolvable challenge, I think that even if you dont mind very bad codes/stuff you won't make it fully work for production without alarms every minutes ... Good luck, Julien

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 9:21 PM, William A. Rowe Jr. wrote: > On 1/31/2011 2:04 PM, Pierre Joye wrote: >> On Mon, Jan 31, 2011 at 8:52 PM, William A. Rowe Jr. >> wrote: >> >>> Which I think we agree with, but you answer is a non sequitur, if you are >>> defining the 'next right solution', why dep

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread William A. Rowe Jr.
On 1/31/2011 2:04 PM, Pierre Joye wrote: > On Mon, Jan 31, 2011 at 8:52 PM, William A. Rowe Jr. > wrote: > >> Which I think we agree with, but you answer is a non sequitur, if you are >> defining the 'next right solution', why deploy the n-1 build environment? > > I did not refer to the next rig

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 9:08 PM, Mathias Grimm wrote: > the constraint is that all need to run on php4.3.6 and 5.3 You may not have the choice but that's simply a very bad idea. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Mathias Grimm
the constraint is that all need to run on php4.3.6 and 5.3 I have one function called my_clone($obj) {} , if is php5 it is serialized and deserialized (to clone member recursively), if php4 just return the parameter. In first moment Im migrating all assignments to use my_clone and later manual upd

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 8:52 PM, William A. Rowe Jr. wrote: > Which I think we agree with, but you answer is a non sequitur, if you are > defining the 'next right solution', why deploy the n-1 build environment? I did not refer to the next right solution but the current and actual right solution

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Ferenc Kovacs
On Mon, Jan 31, 2011 at 8:53 PM, Pierre Joye wrote: > hi, > > On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm > wrote: > > > I dont want refereces.. except in explicit cases and i need to use php > 5.3 > > References have been abused in all possible and impossible ways. > > What are the exact cas

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Pierre Joye
hi, On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm wrote: > I dont want refereces.. except in explicit cases and i need to use php 5.3 References have been abused in all possible and impossible ways. What are the exact cases where you need to do it? Maybe it is already treated as reference any

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread William A. Rowe Jr.
On 1/31/2011 1:43 PM, Pierre Joye wrote: > On Mon, Jan 31, 2011 at 6:26 PM, William A. Rowe Jr. > wrote: >> On 1/30/2011 5:02 PM, Stas Malyshev wrote: >>> >>> It looks like all of these are reproducible only on vc6 build and all have >>> same issues >>> with division and rounding, and all not rep

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 6:28 PM, William A. Rowe Jr. wrote: > On 1/30/2011 10:36 PM, Rasmus Lerdorf wrote: >> On 1/30/11 8:30 PM, Daniel Convissor wrote: >>> >>> That's not an option for the large number of people who want to run PHP >>> under Apache, let alone folks who don't have VC9 tools.  The

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
On Mon, Jan 31, 2011 at 6:26 PM, William A. Rowe Jr. wrote: > On 1/30/2011 5:02 PM, Stas Malyshev wrote: >> >> It looks like all of these are reproducible only on vc6 build and all have >> same issues >> with division and rounding, and all not reproducible on vc9 - which makes me >> thing it's >

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread William A. Rowe Jr.
On 1/31/2011 5:23 AM, Pierre Joye wrote: > hi, > > On Mon, Jan 31, 2011 at 5:36 AM, Rasmus Lerdorf wrote: > >> Aren't Apache VC9 builds readily available these days? >> >> http://www.apachelounge.com/download/ > > I forgot to mention it here again. These builds are not officially > supported by

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Mathias Grimm
thanks, there is no = operator overloading =( On Mon, Jan 31, 2011 at 3:47 PM, Ferenc Kovacs wrote: > > > On Mon, Jan 31, 2011 at 6:45 PM, Ferenc Kovacs wrote: > >> On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm wrote: >> >>> I am migrating a huge php 4 system to php 5.3. >>> >>> I need somet

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Ferenc Kovacs
On Mon, Jan 31, 2011 at 6:45 PM, Ferenc Kovacs wrote: > On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm wrote: > >> I am migrating a huge php 4 system to php 5.3. >> >> I need something like a op override for the = operator. >> >> I'm working on a script with lots of ER + token_get_all but its als

Re: [PHP-DEV] implicit reference

2011-01-31 Thread Ferenc Kovacs
On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm wrote: > I am migrating a huge php 4 system to php 5.3. > > I need something like a op override for the = operator. > > I'm working on a script with lots of ER + token_get_all but its also a hard > work. > > Any suggestion ? > > I dont want refereces.

[PHP-DEV] implicit reference

2011-01-31 Thread Mathias Grimm
I am migrating a huge php 4 system to php 5.3. I need something like a op override for the = operator. I'm working on a script with lots of ER + token_get_all but its also a hard work. Any suggestion ? I dont want refereces.. except in explicit cases and i need to use php 5.3

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread William A. Rowe Jr.
On 1/30/2011 10:36 PM, Rasmus Lerdorf wrote: > On 1/30/11 8:30 PM, Daniel Convissor wrote: >> >> That's not an option for the large number of people who want to run PHP >> under Apache, let alone folks who don't have VC9 tools. The diff() code >> is mauling data types in undesirable, though easily

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread William A. Rowe Jr.
On 1/30/2011 5:02 PM, Stas Malyshev wrote: > > It looks like all of these are reproducible only on vc6 build and all have > same issues > with division and rounding, and all not reproducible on vc9 - which makes me > thing it's > some vc6 problem. Maybe the one Gustavo identified, or something l

Re: [PHP-DEV] Re: Zend engine's hashtable performance tweaks

2011-01-31 Thread Marcin Babij
Hello, I've managed to change my patch to merge against trunk, there were some problems with interned strings optimization. I've created bug report with new patch: http://bugs.php.net/bug.php?id=53866 I've changed hashing function again, it looks like working better than previous, but noth

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
hi, On Mon, Jan 31, 2011 at 5:36 AM, Rasmus Lerdorf wrote: > Aren't Apache VC9 builds readily available these days? > > http://www.apachelounge.com/download/ I forgot to mention it here again. These builds are not officially supported by Apache but work very well. Apache still uses VC6 (vc6 crt

Re: [PHP-DEV] SVN Account Request: lytboris

2011-01-31 Thread Pierre Joye
hi, On Fri, Jan 28, 2011 at 8:49 AM, Lytochkin Boris wrote: > Hi. > Well, I have no karma still actually. I sent an e-mail to > gr...@php.net a week ago but have no answer still. > Can anybody help me fixing my SVN account? Added NEWS to your karma, that would not have prevented you to commit th

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-31 Thread Pierre Joye
hi Rasmus, On Mon, Jan 31, 2011 at 5:36 AM, Rasmus Lerdorf wrote: > Aren't Apache VC9 builds readily available these days? > > http://www.apachelounge.com/download/ > > We can't keep supporting what is now a 13-year old compiler. As I said earlier already, we won't support VC6 any longer (the f

Re: [PHP-DEV] Re: Zend mm

2011-01-31 Thread Sebastian Bergmann
Am 31.01.2011 01:45, schrieb Ben Schmidt: > - Relating this to, PHP: PHP is a garbage collected language which I > believe uses reference counting and a clever collector to detect and > free cycles. I haven't looked in detail into the implementation, but I > know some documentation is availab

Re: [PHP-DEV] SVN Account Request: lytboris

2011-01-31 Thread Hannes Magnusson
On Mon, Jan 31, 2011 at 09:37, Lytochkin Boris wrote: > Hi. > > > On Fri, Jan 28, 2011 at 11:46 AM, Hannes Magnusson > wrote: >> Your SVN account is enabled and you have karma for >> php/php-src/*/ext/snmp,phpdoc > > It seems I need rw for NEWS :) > > Access denied: Insufficient karma for lytbor