Re: PCRE jit bug with UTF-8 and lookbehind assertion

From: Date: Sun, 21 Feb 2016 00:26:58 +0000
Subject: Re: PCRE jit bug with UTF-8 and lookbehind assertion
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-91340@lists.php.net to get a copy of this message
On 19/02/16 09:20, Anatol Belski wrote:
Could you please write back, what is the out difference between those two commands? Thanks. Anatol In the first case, it correctly outputs «x°11» (78 c2 b0 7a). With jit enabled it produces «x�z» (78 c2 7a). That is, it is only outputting the lower byte of the utf-8 encoding of the U+00B0 character
Tested on PHP 7.0.3 using the system libpcre 8.38

« previous php.internals (#91340) next »