Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003393 [Quercus] minor always 03-16-09 14:17 03-18-09 16:43
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003393: preg_match doesn't return full UTF-8 sequences in Unicode matches
Description <?php
$str = "a\xE2\x80\xBAz";
$matches = array();
preg_match('/([\x{203A}])/u', $str, $matches);
print strlen($matches[1]);

Regular PHP prints "3". Quercus prints "1".
Additional Information
Attached Files

- Relationships

- Notes
(0003901)
nam
03-18-09 16:43

php/153l
 

- Issue History
Date Modified Username Field Change
03-16-09 14:17 koreth New Issue
03-18-09 16:43 nam Status new => assigned
03-18-09 16:43 nam Assigned To  => nam
03-18-09 16:43 nam Status assigned => closed
03-18-09 16:43 nam Note Added: 0003901
03-18-09 16:43 nam Resolution open => fixed
03-18-09 16:43 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker