[PHP-DEV] Attitude against distributions... (Was: JSON non-free license)

2013-08-27 Thread Ondřej Surý
Hi, I would like to react on Stat's "it's-not-our-problem" comment in https://bugs.php.net/bug.php?id=63520 I am very sad to see a core developer take such a passive-aggressive stance against distributions' problems. My wild guess would be that most of the users use the PHP in the pre-packaged f

Re: [PHP-DEV] PROPOSAL: temp stream for post_data

2013-08-27 Thread Michael Wallner
Hi Gustavo, thank you for your review! On 27 August 2013 23:17, Gustavo Lopes wrote: > On 27-08-2013 14:08, Michael Wallner wrote: >> >> Hi, >> >> I prepared a patch to replace sapi_globals' request_info post_data and >> raw_post_data with a temp stream and remove support for >> HTTP_RAW_POST_DAT

Re: [PHP-DEV] PROPOSAL: temp stream for post_data

2013-08-27 Thread Gustavo Lopes
On 27-08-2013 14:08, Michael Wallner wrote: Hi, I prepared a patch to replace sapi_globals' request_info post_data and raw_post_data with a temp stream and remove support for HTTP_RAW_POST_DATA. [1] PROS: * save up to 300% on post_data_len memory (on non-form POSTs) * a local siege (c=512/512,

[PHP-DEV] Pull requests report (27/8/2013)

2013-08-27 Thread Lior Kaplan
Hi, I'm please to say that we keep processing the requests faster and faster, leaving only few not handled in their first week. Thanks for everyone who helped. New: #420 Always provide retval ptr #421 Dedicated sy

[PHP-DEV] crc32() and ip2long() return values

2013-08-27 Thread Rasmus Schultz
Dear list, I recently ran into big problems with crc32() and ip2long() both of which I was using in the same codebase. I know these issues have been debated at length in the past, but this really needs to be fixed. Anytime you persist these values (to any external medium, files or databases) you

Re: [PHP-DEV] Re: Always set return_value_ptr?

2013-08-27 Thread Julien Pauli
On Tue, Aug 27, 2013 at 11:40 AM, Nikita Popov wrote: > On Sat, Aug 3, 2013 at 8:16 PM, Nikita Popov wrote: > > > Hi internals! > > > > Is there any particular reason why we only pass return_value_ptr to > > internal functions if they have the ACC_RETURN_REFERENCE flag set? > > > > Why can't we

[PHP-DEV] PROPOSAL: temp stream for post_data

2013-08-27 Thread Michael Wallner
Hi, I prepared a patch to replace sapi_globals' request_info post_data and raw_post_data with a temp stream and remove support for HTTP_RAW_POST_DATA. [1] PROS: * save up to 300% on post_data_len memory (on non-form POSTs) * a local siege (c=512/512, 2.4k form/2.2k json) showed no (negative) perf

[PHP-DEV] Re: Always set return_value_ptr?

2013-08-27 Thread Nikita Popov
On Sat, Aug 3, 2013 at 8:16 PM, Nikita Popov wrote: > Hi internals! > > Is there any particular reason why we only pass return_value_ptr to > internal functions if they have the ACC_RETURN_REFERENCE flag set? > > Why can't we always provide the retval ptr, even for functions that don't > return b

[PHP-DEV] Re: [PHP-CVS] com php-src: Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.: main/SAPI.h main/rfc1867.c sapi/cgi/cgi_main.c

2013-08-27 Thread Michael Wallner
Stas, does this problem still persist for you? On 19 August 2013 22:05, Michael Wallner wrote: > On 19 August 2013 00:01, Stas Malyshev wrote: >> Hi! >> Listening on http://localhost:8964 Document root is /home/smalyshev/php-src/sapi/cli/tests Press Ctrl-C to quit. >>> >>> >>> Qui