[PHP-DEV] PHP 7.0.0beta2 is available

2015-07-23 Thread ab
Hi, The second beta for 7.0.0 was just released and can be downloaded from: https://downloads.php.net/~ab/ The Windows binaries are available at http://windows.php.net/qa/ This release contains fixes for 28 reported bugs and altogether over 200 commits with various improvements.

[PHP-DEV] Re: [Proposal] Extend support for negative string offsets

2015-07-23 Thread Christoph Becker
François Laupretre wrote: I need your thoughts on a PR (https://github.com/php/php-src/pull/1431) I am working on. The subject is to change the way negative string offsets (and lengths, where applicable) are handled, to make the behavior consistent with the way they're handled in substr() and

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-23 Thread Hannes Magnusson
On Wed, Jul 22, 2015 at 4:55 AM, Remi Collet r...@fedoraproject.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See https://bugs.php.net/bug.php?id=70112 As this a very small self-contained change, I don't think it needs a RFE. Feedback welcome Shouldn't you check if you are

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-23 Thread Scott Arciszewski
On Wed, Jul 22, 2015 at 8:09 AM, flaupre...@free.fr wrote: Hi, De: Remi Collet r...@fedoraproject.org See https://bugs.php.net/bug.php?id=70112 As this a very small self-contained change, I don't think it needs a RFE. +1 for the feature, but not sure it can go to 7.0. Regards

Re: [PHP-DEV] Re: [Proposal] Extend support for negative string offsets

2015-07-23 Thread flaupretre
Hi, De: Christoph Becker cmbecke...@gmx.de That may be useful as well, but what about the respective mbstring and grapheme functions? At least these should be improved as well, but I'm not sure if that can be done in an efficient manner. iconv, mb, and grapheme functions need to be

Re: [PHP-DEV] Re: Resetting wiki.php.net password

2015-07-23 Thread Rowan Collins
Hannes Magnusson wrote on 22/07/2015 23:50: Every blue moon there is a person without VCS account that would like to write an RFC. That must be possible. This may be a naive question, but wouldn't that just be a case of giving them a global account with only wiki karma? -- PHP Internals -

Re: [PHP-DEV] Re: Voting choice for language changes (Was: Re: [PHP-DEV][RFC][DISCUSSION] Strict Argument Count)

2015-07-23 Thread Marcio Almada
Hi, you replied to the wrong thread ;) 2015-07-22 19:38 GMT-03:00 S.A.N ua.san.a...@gmail.com: I am satisfied, the possibility of group declarations, but the that lack: ?php use App\RestException\ // name RestException, not imported to current namespace :( { Gone, NotFound,

Re: [PHP-DEV] Re: Resetting wiki.php.net password

2015-07-23 Thread Johannes Schlüter
On Thu, 2015-07-23 at 15:51 +0100, Rowan Collins wrote: Hannes Magnusson wrote on 22/07/2015 23:50: Every blue moon there is a person without VCS account that would like to write an RFC. That must be possible. This may be a naive question, but wouldn't that just be a case of giving

Re: [PHP-DEV] Re: Resetting wiki.php.net password

2015-07-23 Thread Rowan Collins
Johannes Schlüter wrote on 23/07/2015 16:24: On Thu, 2015-07-23 at 15:51 +0100, Rowan Collins wrote: Hannes Magnusson wrote on 22/07/2015 23:50: Every blue moon there is a person without VCS account that would like to write an RFC. That must be possible. This may be a naive question, but

Re: [PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-23 Thread Aaron Piotrowski
On Jul 14, 2015, at 4:04 PM, Sammy Kaye Powers m...@sammyk.me wrote: Hello lovely PHP nerds, There are two open PR's for PHP7 to modify the behavior of the CSPRNG's: https://github.com/php/php-src/pull/1397 (main discussion) https://github.com/php/php-src/pull/1398 Currently the

[PHP-DEV] [Proposal] Extend support for negative string offsets

2015-07-23 Thread François Laupretre
Hi, As my previous message seems to have been unnoticed, I send it again. I need your thoughts on a PR (https://github.com/php/php-src/pull/1431) I am working on. The subject is to change the way negative string offsets (and lengths, where applicable) are handled, to make the behavior consistent

Re: [PHP-DEV] PCRE JIT stack size limit

2015-07-23 Thread Christoph Becker
Hi Pierre, Pierre Joye wrote: Hi Christoph, There are ways to dymacally increase the stack. Apache's modphp can use the apache config. Fpm, fcgi or cli can change it on windows (afair it is in the doc). It is possible too on Linux with ulimit. An alternative (not a big fan) would be to

Re: [PHP-DEV] PCRE JIT stack size limit

2015-07-23 Thread Pierre Joye
Hi Christoph, There are ways to dymacally increase the stack. Apache's modphp can use the apache config. Fpm, fcgi or cli can change it on windows (afair it is in the doc). It is possible too on Linux with ulimit. An alternative (not a big fan) would be to use setrlimit with an ini setting.

Re: [PHP-DEV] Re: Voting choice for language changes (Was: Re: [PHP-DEV][RFC][DISCUSSION] Strict Argument Count)

2015-07-23 Thread S.A.N
2015-07-23 18:10 GMT+03:00 Marcio Almada marcio.w...@gmail.com: Hi, you replied to the wrong thread ;) 2015-07-22 19:38 GMT-03:00 S.A.N ua.san.a...@gmail.com: I am satisfied, the possibility of group declarations, but the that lack: ?php use App\RestException\ // name RestException, not

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-23 Thread Josh Di Fabio
Great suggestion, Remi, I'd love to see this change! On Wed, Jul 22, 2015 at 7:49 PM, Sara Golemon poll...@php.net wrote: On Wed, Jul 22, 2015 at 4:55 AM, Remi Collet r...@fedoraproject.org wrote: See https://bugs.php.net/bug.php?id=70112 I'm not inherently against it, but this really

RE: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-23 Thread Anatol Belski
Hi, -Original Message- From: Remi Collet [mailto:r...@fedoraproject.org] Sent: Thursday, July 23, 2015 7:29 AM To: PHP Internals internals@lists.php.net Subject: Re: [PHP-DEV] RFE to allow dirname($foo, 2) Le 22/07/2015 20:57, Marco Pivetta a écrit : On 22 July 2015 at 19:49,

[PHP-DEV] PCRE JIT stack size limit

2015-07-23 Thread Christoph Becker
Hi! PHP7 supports PCRE's JIT compilation of patterns by default, which mostly works fine. However, there are issues when the matching exceeds the JIT stack limit, see bug #70110[1]. I'm not sure how to solve this best. Basically, I see two possible solutions: either we fall back to non JIT