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-2024 The PHP Group All rights reserved. |
Last updated: Thu Mar 28 09:01:26 2024 UTC |