php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch bug53823.phpt for PCRE related Bug #53823Patch version 2012-02-24 23:35 UTC Return to Bug #53823 | Download this patchThis 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) "áéíóú" |
Copyright © 2001-2025 The PHP Group All rights reserved. |
Last updated: Sat Jan 04 22:01:28 2025 UTC |