Test: /ext/pcre/tests/bug42298.phpt - Version 5.4.31-dev        

Bug #42298 preg_match with /u gives different results for \S\S and \S{2}
Submitted: 2007-08-14 16:46:48 Modified: 2007-09-01 17:54:12
From: matthew-php Assigned: nlopess
Status: Closed Package: PCRE related
PHP Version: 5CVS-2007-08-14 (snap) OS: Windows XP

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: preg_match_all(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug42298.php on line 3
002+ NULL
003+
004+ Warning: preg_match_all(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug42298.php on line 4
005+ NULL
006+
007+ Warning: preg_match_all(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug42298.php on line 7
008+ NULL
009+
010+ Warning: preg_match_all(): Compilation failed: this version of PCRE is compiled without UTF support at offset 0 in %s/bug42298.php on line 8
011+ NULL
001- array(1) {
002- [0]=>
003- array(2) {
004- [0]=>
005- string(3) "A£"
006- [1]=>
007- string(2) "BC"
008- }
009- }
010- array(1) {
011- [0]=>
012- array(2) {
013- [0]=>
014- string(3) "A£"
015- [1]=>
016- string(2) "BC"
017- }
018- }
019- array(1) {
020- [0]=>
021- array(1) {
022- [0]=>
023- string(4) "€ "
024- }
025- }
026- array(1) {
027- [0]=>
028- array(1) {
029- [0]=>
030- string(4) "€ "
031- }
032- }