Re: [PHP-DEV] php 5.4 next iteration

2011-10-21 Thread Stas Malyshev
Hi! On 10/19/11 3:23 AM, Felipe Pena wrote: What about https://wiki.php.net/rfc/instance-method-call? I'm not sure what would be the use case for that... But if people need it, and there's no objections, I don't see any danger in including it. If we do, we need tests though! -- Stanislav

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Lester Caine
Mario Brandt wrote: I already made some benchmarking 5.3.8 and 5.4.0beta2 OK running it via Apache ;) ( '\n' - 'br /' ) Machine is a Dual Core AMD64 laptop (2.1GHz with 1.1GHz memory) On 64bit Windows 7 Home 32bit Apache + 32bit PHP http://pastebin.com/raw.php?i=MS6H4A5g 166.947 Seconds

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Reindl Harald
Am 21.10.2011 13:00, schrieb Lester Caine: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is giving 27.750 seconds which is even

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Stas Malyshev
Hi! On 10/21/11 4:00 AM, Lester Caine wrote: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is giving 27.750 seconds which is even

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Lester Caine
Stas Malyshev wrote: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is giving 27.750 seconds which is even nicer, CPU-bound ops should

RE: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Stephen Zarkos
Stas Malyshev wrote: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is giving 27.750 seconds which is even nicer, CPU-bound

[PHP-DEV] fclose(), file_put_contents(), copy() all fail to return false on error

2011-10-21 Thread Tom Boutell
It appears that all three of these functions do not return false on error as they should if the stream is not flushed successfully. Yipes! https://bugs.php.net/bug.php?id=60110 Am I missing something here? It's especially bad with, say, an S3 stream wrapper that wants to write the whole thing

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Richard Riley
Stephen Zarkos stephen.zar...@microsoft.com writes: Stas Malyshev wrote: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Lester Caine
Stephen Zarkos wrote: Stas Malyshev wrote: So I suppose the question I have to ask is what the f**k am I doing wrong on the windows setup? I've always known that linux was faster, but 4 times faster on the same hardware? My main development machine is giving 27.750 seconds

RE: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Stephen Zarkos
-Original Message- From: Richard Riley [mailto:rile...@googlemail.com] Sent: Friday, October 21, 2011 1:04 PM To: internals@lists.php.net Subject: Re: [PHP-DEV] Benchmarking ... Stephen Zarkos stephen.zar...@microsoft.com writes: Apache does tend to be slower on Windows. You

[PHP-DEV] PHP 5.3.9 and is_a changes

2011-10-21 Thread Clint Byrum
Hi everyone. I'm trying to plan things for Ubuntu's upcoming 12.04 LTS release. LTS stands for Long Term Support, and it will be supported by Canonical for 5 years. Because of this, I really want to ship a version of PHP that has an is_a() behavior that will be consistent with any future 5.3.x

Re: [PHP-DEV] PHP 5.3.9 and is_a changes

2011-10-21 Thread Johannes Schlüter
On Fri, 2011-10-21 at 13:52 -0700, Clint Byrum wrote: The release date is April 26 2012, can anyone tell me if 5.3.9 is expected by then? Yes. 5.3.9 release cycle will start soon. Probably next week. So by April it is certainly there. I assume even 5.3.10 will be released by then. Ideally

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread Lester Caine
Stephen Zarkos wrote: Yes, I do:) Although the tests we've done are a bit different from this sort of benchmark. We typically do more load testing, where we have one or more load agent(s) each creating multiple virtual clients accessing one or more PHP pages on another physical server.

Re: [PHP-DEV] Benchmarking ...

2011-10-21 Thread William A. Rowe Jr.
On 10/21/2011 4:42 PM, Lester Caine wrote: Stephen Zarkos wrote: Yes, I do:) Although the tests we've done are a bit different from this sort of benchmark. We typically do more load testing, where we have one or more load agent(s) each creating multiple virtual clients accessing one or