Test: /ext/pcre/tests/bug53823.phpt - Version 5.6.13        

Bug #53823 preg_replace: * qualifier on unicode replace garbles the string
Submitted: 2011-01-23 18:00:57 Modified: 2015-06-23 15:17:09
From: keith Assigned: cmb
Status: Closed Package: PCRE related
PHP Version: 5.6.9 OS: *

There are 4 different diffs reported by users for this test.

Count Diff
2 (40%)
001+ Warning: preg_replace(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug53823.php on line 2
001- string(10) "áéíóú"
003+
004+ Warning: preg_replace(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug53823.php on line 4
006+
007+ Warning: preg_replace(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug53823.php on line 5
008+ NULL
1 (20%)
001+ string(0) ""
001- string(10) "áéíóú"
1 (20%)
001+ Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset 0 in %s/bug53823.php on line 2
001- string(10) "áéíóú"
003+
004+ Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset 0 in %s/bug53823.php on line 4
006+
007+ Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset 0 in %s/bug53823.php on line 5
008+ NULL
1 (20%)
001+ Warning: preg_replace(): Compilation failed: this version of PCRE is not compiled with Unicode property support at offset 0 in %s/bug53823.php on line 2
001- string(10) "áéíóú"
003+
004+ Warning: preg_replace(): Compilation failed: this version of PCRE is not compiled with Unicode property support at offset 0 in %s/bug53823.php on line 4
006+
007+ Warning: preg_replace(): Compilation failed: this version of PCRE is not compiled with Unicode property support at offset 0 in %s/bug53823.php on line 5
008+ NULL