Re: [PHP-DEV] Locale-independent double-to-string cast

2013-10-03 Thread Marc Bennewitz
Am 02.10.2013 20:38, schrieb Adam Harvey: On 2 October 2013 10:57, Christopher Jones christopher.jo...@oracle.com wrote: On 10/02/2013 10:26 AM, Nikita Popov wrote: I'd like to change our double-to-string casting behavior to be locale-independent and would appreciate some opinions as to

Re: [PHP-DEV] Streams constify API change in master leads to compilation warning for extensions

2013-10-03 Thread Michael Wallner
On 2 October 2013 20:41, Jakub Zelenka bu...@php.net wrote: Hi, I was wondering why stream API has been changed in this commit: https://github.com/php/php-src/commit/92d27ccb0574f901a107409a7fec92888fa2b82f Basically all char pointers have been constified. The thing is that this commit

Re: [PHP-DEV] Streams constify API change in master leads to compilation warning for extensions

2013-10-03 Thread Remi Collet
Le 02/10/2013 20:41, Jakub Zelenka a écrit : Hi, I was wondering why stream API has been changed in this commit: https://github.com/php/php-src/commit/92d27ccb0574f901a107409a7fec92888fa2b82f Basically all char pointers have been constified. The thing is that this commit leads to

Re: [PHP-DEV] HTTP supergloblas and request body/query (was: Parsing PUT data)

2013-10-03 Thread Pierre Joye
hi! On Wed, Oct 2, 2013 at 8:15 AM, Nikita Popov nikita@gmail.com wrote: On Wed, Oct 2, 2013 at 8:59 AM, Michael Wallner m...@php.net wrote: Since ever people are confused by _GET and _POST superglobals, because, despite their name, they do not (really) depend on the request method.

Re: [PHP-DEV] Streams constify API change in master leads to compilation warning for extensions

2013-10-03 Thread Jakub Zelenka
-PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper (const char *path, char **path_for_open, int options TSRMLS_DC); +PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper (const char *path, const char **path_for_open, int options TSRMLS_DC); While is absolutly safe (and often

Re: [PHP-DEV] Streams constify API change in master leads to compilation warning for extensions

2013-10-03 Thread Johannes Schlüter
On Wed, 2013-10-02 at 23:01 -0400, William Bartlett wrote: My understanding is that the const triggers some optimizations because the compiler better understands how the variables are used. There's not really much win. In most cases the generated code is exactly the same.*) Such changes are

Re: [PHP-DEV] Wiki karma, por favor.

2013-10-03 Thread Tjerk Meesters
Bump. On 3 Oct, 2013, at 3:23 AM, Madara Uchiha mad...@tchizik.com wrote: +1! This guy is epic! On Mon, Sep 30, 2013 at 10:56 PM, Daniel Lowrey rdlow...@gmail.com wrote: Good day, security-conscious internals people. I'm ready to float an RFC + patch for default SSL/TLS peer verification