Doc #52111 [NEW]: System Windows NT DOM 5.1 build 2600 (Windows XP Professional Service Pack 3
| From: | ermaksibir at gmail dot com | Date: | Thu, 17 Jun 2010 14:42:48 +0000 |
| Subject: | Doc #52111 [NEW]: System Windows NT DOM 5.1 build 2600 (Windows XP Professional Service Pack 3 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4564@lists.php.net to get a copy of this message | ||
From:
Operating system: windows xp sp3
PHP version: Irrelevant
Package: PCRE related
Bug Type: Documentation Problem
Bug description: System Windows NT DOM 5.1 build 2600 (Windows XP Professional Service Pack 3
Description:
------------
PHP Version 5.3.1
This function does not work with strings. With them, it works similar to
preg_replace (). ie displays the entire string, and not just coincidence.
Error or function, or describing it. Please, if possible, make sure that it
worked with strings.
Sorry my english
Test script:
---------------
cp windows 1251 (cirilic)
$text = 'ЧÑо Ñебе подаÑиÑÑ,
Ñеловек мой
доÑогой
?..
Я бÑ, к пÑимеÑÑ, Ñаз и навÑегда
поÑовеÑовала ÑдеÑжаÑÑÑÑ Ð¾Ñ
поÑÑва
пÑеподноÑиÑÑ Ð¼ÑжÑине
живоÑнÑÑ
.'
echo (preg_filter
('/((\?)|(\!))[\,\.]+/','<br><strong>$0</strong><br>',
$text));
--
Edit bug report at http://bugs.php.net/bug.php?id=52111&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52111&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52111&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52111&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52111&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52111&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52111&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52111&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52111&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52111&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52111&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52111&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52111&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52111&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52111&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52111&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52111&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52111&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52111&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52111&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52111&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52111&r=mysqlcfg