Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
On 18 September 2017 at 19:04, Dmitry Stogov wrote: > This commit should fix the problem https://github.com/php/php-src/commit/ > 5ef10d08ec2d0823fb21ad189dacfb43d900a0b5 > > > Yes! I tested 7.2.0RC2 with this patch applied and it fixes the problem. Thank you!

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Dmitry Stogov
This commit should fix the problem https://github.com/php/php-src/commit/5ef10d08ec2d0823fb21ad189dacfb43d900a0b5 Thanks. Dmitry. From: Dmitry Stogov Sent: Monday, September 18, 2017 7:29:24 PM To: Giovanni Giacobbi; PHP Internals List Subject: Re: [PHP-DEV] PC

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Dmitry Stogov
The problem may be caused by "incorrect" dynamic linking to different libpcre instances. e.g one libbcre is use by Apache or some Apache module and another is embedded into PHP. The backtrace would be useful, to prove this guess. Thanks. Dmitry. From: giova

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Rowan Collins
On 18 September 2017 13:05:53 BST, Giovanni Giacobbi wrote: >On 18 September 2017 at 13:46, Dan Ackroyd >wrote: >> Even if you think bugs are urgent enough to email the internals list >- >> please open a bug report at bugs.php.net first, so that people can >> response to it without spamming the

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
On 18 September 2017 at 13:46, Dan Ackroyd wrote: > On 18 September 2017 at 12:28, Giovanni Giacobbi > wrote: > > > > just an heads up, I started testing my project with PHP 7.2.0RC2 but it > was > > causing a segmentation fault. > > Even if you think bugs are urgent enough to email the internal

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Dan Ackroyd
On 18 September 2017 at 12:28, Giovanni Giacobbi wrote: > > just an heads up, I started testing my project with PHP 7.2.0RC2 but it was > causing a segmentation fault. Even if you think bugs are urgent enough to email the internals list - please open a bug report at bugs.php.net first, so that pe

[PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
Greetings, just an heads up, I started testing my project with PHP 7.2.0RC2 but it was causing a segmentation fault. I tracked down the problem to preg_match(), in particular when JIT is enabled and ONLY when running through Apache2 with event MPM. This problem does not occur with command line in

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-18 Thread Christoph M. Becker
On 18.09.2017 at 11:40, Tony Marston wrote: > I have already acknowledged that the same word can have a different > meaning in a different context, so the word "china" has a different > meaning in "I am going to China" and "this is made from china". However, > in the same context changes in case a

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-18 Thread Tony Marston
"niel" wrote in message news:f75fe28a-9002-401c-f863-4462251e2...@blueyonder.co.uk... On 16/09/17 11:56, Tony Marston wrote: ""Christoph M. Becker"" wrote in message news:7f14af9e-cd8c-3a73-e487-7219a7630...@gmx.de... On 16.09.2017 at 11:16, Tony Marston wrote: There is no such thing as "