|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-31 23:20 UTC] moriyoshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
Description: ------------ mb_ereg_replace can't replace to "\\0" ? Reproduce code: --------------- <?php define("TEST_STRING_0","\x0"); define("TEST_STRING_1","\x1"); // works fine echo mb_ereg_replace("\1", "\\1", TEST_STRING_1,"p"); // but not echo mb_ereg_replace("\0", "\\0", TEST_STRING_0,"p"); // and also echo mb_ereg_replace("\1", "\\0", TEST_STRING_1,"p"); ?>