Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3393 | minor | always | 03-16-09 14:17 | 03-18-09 16:43 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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". |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|