php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53823
Patch bug53823.phpt revision 2012-02-25 09:53 UTC by robertbasic dot com at gmail dot com
revision 2012-02-24 23:35 UTC by robertbasic dot com at gmail dot com

Patch bug53823.phpt for PCRE related Bug #53823

Patch version 2012-02-24 23:35 UTC

Return to Bug #53823 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: robertbasic.com@gmail.com

--TEST--
Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)
--FILE--
<?php
        var_dump(preg_replace('/[^\pL\pM]*/iu', '', 'áéíóú'));
        var_dump(preg_replace('/[^\pL\pM]+/iu', '', 'áéíóú'));
?>
--EXPECT--
string(10) "áéíóú"
string(10) "áéíóú"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC