Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Kingsquare.nl - Robin Speekenbrink
Dear All, Again with my 2cents into the basket: I was hoping Ilia Alshanetsky would also support this idea since in his talks (i.e. http://ilia.ws/archives/241-IPC-Hidden-Features-of-PHP-Slides.html) he has been promoting the exact same use: switch the standard serializer to igBinary... Als

[PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Nicolai Scheer
Hi! Did I miss anything or is it intentional to not allow bug reports for php 5.3.x? The version dropdown on https://bugs.php.net/report.php only shows trunk, svn and php 5.4 stuff (and a 'upgrade first' suggestion if lower). greetings, Nico -- PHP Internals - PHP Runtime Development Mai

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Reindl Harald
Am 19.08.2011 09:51, schrieb Nicolai Scheer: > > Hi! > > Did I miss anything or is it intentional to not allow > bug > reports for php 5.3.x? > > The version dropdown on > https://bugs.php.net/report.php > only shows trunk, svn and php 5.4 stuff > (and a 'upgrade first' > suggestion if lower).

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Hannes Magnusson
On Fri, Aug 19, 2011 at 10:10, Reindl Harald wrote: > > > Am 19.08.2011 09:51, schrieb Nicolai Scheer: >> >> Hi! >> >> Did I miss anything or is it intentional to not allow >> bug >> reports for php 5.3.x? >> >> The version dropdown on >> https://bugs.php.net/report.php >> only shows trunk, svn an

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Ferenc Kovacs
On Fri, Aug 19, 2011 at 10:37 AM, Hannes Magnusson wrote: > On Fri, Aug 19, 2011 at 10:10, Reindl Harald wrote: >> >> >> Am 19.08.2011 09:51, schrieb Nicolai Scheer: >>> >>> Hi! >>> >>> Did I miss anything or is it intentional to not allow >>> bug >>> reports for php 5.3.x? >>> >>> The version dr

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Sebastian Krebs
Hi, One pitfall I see is, that two separate system can communicate using serialized data. They both must understand the same format and (in this case) must be configured equal. Regards, Sebastian 2011/8/19 Kingsquare.nl - Robin Speekenbrink > Dear All, > > Again with my 2cents into the basket:

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Johannes Schlüter
On Fri, 2011-08-19 at 10:56 +0200, Ferenc Kovacs wrote: > I changed the behavior of that dropdown recently, it fetch the > versions from > http://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions > and http://www.php.net/releases/index.php?serialize=1&max=20&version=5 > it seems th

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Ferenc Kovacs
2011/8/19 Johannes Schlüter : > On Fri, 2011-08-19 at 10:56 +0200, Ferenc Kovacs wrote: >> I changed the behavior of that dropdown recently, it fetch the >> versions from >> http://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions >> and http://www.php.net/releases/index.php?serial

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread John Carter
All, We're fairly heavy users of igbnary and we've found that the latest 1.1.1 from pecl has issues with values-by-reference and therefore can't be used as a drop-in replacement for the standard serialiser as it stands. I suspect it's the same issue as this https://github.com/igbinary/igbinary/is

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Ferenc Kovacs
2011/8/19 Ferenc Kovacs : > 2011/8/19 Johannes Schlüter : >> On Fri, 2011-08-19 at 10:56 +0200, Ferenc Kovacs wrote: >>> I changed the behavior of that dropdown recently, it fetch the >>> versions from >>> http://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions >>> and http://www.

Re: [PHP-DEV] Bug reports for php 5.3.x

2011-08-19 Thread Nicolai Scheer
Hi! > 2011/8/19 Ferenc Kovacs : [...] > I've fixed and pushed it to bugsweb for now with > http://svn.php.net/viewvc?view=revision&revision=315166 until we come > up with a proper solution. Thanks! Greetings, Nico -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vis

[PHP-DEV] libxml returns codes and xmlreader

2011-08-19 Thread Nicolai Scheer
Hi again! Please excuse if this is a duplicate, my web mailer choked on that one :/ -- I've noticed, that some of the libxml return codes get "simplified" when used in xmlreader which can be quite problematic. I opened a bug report about this behaviour: https://bugs.php.net/bug.php?id

Re: [PHP-DEV] libxml returns codes and xmlreader

2011-08-19 Thread Hannes Magnusson
On Fri, Aug 19, 2011 at 12:27, Nicolai Scheer wrote: > > > Hi again! > > Please excuse if this is a duplicate, my web > mailer choked on that one :/ > > -- > > I've > noticed, that some of the libxml return codes > get > "simplified" when used in xmlreader which can be quite > problematic.

Re: [PHP-DEV] libxml returns codes and xmlreader

2011-08-19 Thread Nicolai Scheer
Hi! > On Fri, Aug 19, 2011 at 12:27, Nicolai Scheer > wrote: >> I've >> noticed, that some of the libxml return codes >> get >> "simplified" when used in xmlreader which can be quite >> problematic. > Use libxml_get_errors() So you're suggesting to call another function rather than returning

RE: [PHP-DEV] TameJS syntax for Async/Parallel execution in PHP

2011-08-19 Thread Jonathan Bond-Caron
On Thu Aug 4 09:54 PM, Raymond Irving wrote: > Hello, > > I came across this little library called TameJS (http://tamejs.org/) > and fell in love with the it's syntax. This had me thinking if it was > possible to add such features to a PHP CLI (or web app): > Thanks for sharing, never heard of

RE: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Jonathan Bond-Caron
On Fri Aug 19 03:48 AM, Kingsquare.nl - Robin Speekenbrink wrote: > > Also the proposed include it -> read the data -> convert on write if > in previous format (possibly an ini setting?) would provide full BC > and would allow a painless upgrade... wouldnt it? > 100% against enabling it by def

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Stefan Neufeind
On 08/19/2011 01:15 PM, Jonathan Bond-Caron wrote: > On Fri Aug 19 03:48 AM, Kingsquare.nl - Robin Speekenbrink wrote: >> >> Also the proposed include it -> read the data -> convert on write if >> in previous format (possibly an ini setting?) would provide full BC >> and would allow a painless up

Re: [PHP-DEV] libxml returns codes and xmlreader

2011-08-19 Thread Rob Richards
On 8/19/11 7:04 AM, Nicolai Scheer wrote: Hi! On Fri, Aug 19, 2011 at 12:27, Nicolai Scheer wrote: I've noticed, that some of the libxml return codes get "simplified" when used in xmlreader which can be quite problematic. Use libxml_get_errors() So you're suggesting to call another

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Arpad Ray
On Fri, Aug 19, 2011 at 1:04 PM, Ferenc Kovacs wrote: > this could still cause problems, as pointed out before (when you > change your handler, or when you pass serialized data between > different php installs, etc.), so I really like what Kiall Mac Innes > suggested: prefix the data with the seri

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Ferenc Kovacs
On Fri, Aug 19, 2011 at 2:31 PM, Arpad Ray wrote: > On Fri, Aug 19, 2011 at 1:04 PM, Ferenc Kovacs wrote: >> this could still cause problems, as pointed out before (when you >> change your handler, or when you pass serialized data between >> different php installs, etc.), so I really like what Ki

Re: [PHP-DEV] TameJS syntax for Async/Parallel execution in PHP

2011-08-19 Thread Ulf Wendel
Am 19.08.2011 13:12, schrieb Jonathan Bond-Caron: On Thu Aug 4 09:54 PM, Raymond Irving wrote: Hello, I came across this little library called TameJS (http://tamejs.org/) and fell in love with the it's syntax. This had me thinking if it was possible to add such features to a PHP CLI (or web app

Re: [PHP-DEV] libxml returns codes and xmlreader

2011-08-19 Thread Nicolai Scheer
Hi! [...] >> Nevertheless, is there a "real" reason >> why this is not implemented? Anyone else feeling uncomfortable with >> "calling additional functions to check for error conditions"? > It is modeled after the .NET XMLReader interface with simple boolean > return values. You can file a featu

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Arpad Ray
On Fri, Aug 19, 2011 at 1:40 PM, Ferenc Kovacs wrote: > On Fri, Aug 19, 2011 at 2:31 PM, Arpad Ray wrote: >> On Fri, Aug 19, 2011 at 1:04 PM, Ferenc Kovacs wrote: >>> the downside would be that if you want to serialize/unserialize the >>> data outside of php, your implementation should take care

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Ferenc Kovacs
On Fri, Aug 19, 2011 at 2:47 PM, Arpad Ray wrote: > On Fri, Aug 19, 2011 at 1:40 PM, Ferenc Kovacs wrote: >> On Fri, Aug 19, 2011 at 2:31 PM, Arpad Ray wrote: >>> On Fri, Aug 19, 2011 at 1:04 PM, Ferenc Kovacs wrote: the downside would be that if you want to serialize/unserialize the

[PHP-DEV] Issue with custom stream wrapper, include and APC

2011-08-19 Thread Christian Kaps
Hi! I have a problem with APC and a custom stream wrapper implementation. The wrapper is used to include generated PHP classes. If APC is enabled it seems that the include statement(used with different URL's), loads always the first included class from cache. The following code illustrates the is

RE: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Jared Williams
> -Original Message- > From: Paul Dragoonis [mailto:dragoo...@gmail.com] > Sent: 18 August 2011 12:12 > To: PHP Internals List > Subject: [PHP-DEV] Activation of IGBinary serialization > extension in 5.4 by default > > Hey guys, > > After a brief discussion with Pierre I'm taking thi

Re: [PHP-DEV] Issue with custom stream wrapper, include and APC

2011-08-19 Thread Pierre Joye
hi, Have you tried using the latest version of APC or using svn's trunk? If not please try it and report a bug at pecl.php.net/apc if it still occurs Thanks for your feedback! On Fri, Aug 19, 2011 at 2:54 PM, Christian Kaps wrote: > Hi! > > I have a problem with APC and a custom stream wrapper

Re: [PHP-DEV] Issue with custom stream wrapper, include and APC

2011-08-19 Thread Christian Kaps
Thanks for your fast feedback. I've tried it with the latest(3.1.9) version. Can someone who has the actual trunk compiled, give feedback for the snippet(https://gist.github.com/1156717)? Christian Am 19.08.2011 15:07, schrieb Pierre Joye: > hi, > > Have you tried using the latest version of AP

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-19 Thread Lester Caine
Paul Dragoonis wrote: After a brief discussion with Pierre I'm taking this discussion to here. We have the igbinary pecl extension available [1], however not many of our userbase are familiar that it even exists. Here [2] is the performance boost we get from using igbinary with serialize() and un

[PHP-DEV] 5.3.7pl1

2011-08-19 Thread Stas Malyshev
Hi! Looks like 5.3.7 shipped with broken crypt() (see bug# 55439 and http://svn.php.net/viewvc/?view=revision&revision=315218) - and I think it's a serious problem since this means everybody's md5 passwords will stop working - so should we make 5.3.7pl1? And maybe not do these changes on 5.3

Re: [PHP-DEV] 5.3.7pl1

2011-08-19 Thread Reindl Harald
Am 20.08.2011 01:16, schrieb Stas Malyshev: > Hi! > > Looks like 5.3.7 shipped with broken crypt() (see bug# 55439 and > http://svn.php.net/viewvc/?view=revision&revision=315218) - and I think > it's a serious problem since this means > everybody's md5 passwords will stop working - so should we

RE: [PHP-DEV] 5.3.7pl1

2011-08-19 Thread Uwe Schindler
+1 - Uwe Schindler theta...@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany > -Original Message- > From: Stas Malyshev [mailto:smalys...@sugarcrm.com] > Sent: Saturday, August 20, 2011 1:17 AM > To: PHP Internals > Subject: [PHP-DEV] 5.3.7pl1 > > Hi! > > Looks lik

Re: [PHP-DEV] 5.3.7pl1

2011-08-19 Thread Rasmus Lerdorf
On 08/19/2011 04:16 PM, Stas Malyshev wrote: > Hi! > > Looks like 5.3.7 shipped with broken crypt() (see bug# 55439 and > http://svn.php.net/viewvc/?view=revision&revision=315218) - and I > think it's a serious problem since this means everybody's md5 passwords > will stop working - so should we m

Re: [PHP-DEV] Test failures (was: 5.3.7pl1)

2011-08-19 Thread Stas Malyshev
Hi! On 8/19/11 5:02 PM, Rasmus Lerdorf wrote: The secondary problem is that we are not doing a good job running our tests prior to releases. I think this is mostly because we have way too many tests that fail and one more or less failing test gets lost in the noise. Yes, this is a problem: her

Re: [PHP-DEV] 5.3.7pl1

2011-08-19 Thread Nathaniel Catchpole
From my phone. Apologies for brevity and typos. On 2011/08/20, at 9:03, Rasmus Lerdorf wrote: >> >> > > The secondary problem is that we are not doing a good job running our > tests prior to releases. I think this is mostly because we have way > too > many tests that fail and one more or less