|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-07 12:03 UTC] marten at jerbro dot se
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
Snippet: <? if(eregi('?|?|?', '?')) echo 'MATCH'.chr(10); if(preg_match('/?|?|?/i', '?')) echo 'MATCH'.chr(10); echo eregi_replace('?|?|?', 'x', '???'); echo preg_replace('/?|?|?/i', 'y', '???'); ?> The output from the snippet should be: MATCH MATCH xxxyyy But the output is: ??????