note 75134 deleted from function.ereg-replace by tularis

From: Date: Mon, 14 May 2007 22:13:01 +0000
Subject: note 75134 deleted from function.ereg-replace by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-126585@lists.php.net to get a copy of this message
Note Submitter: presto at stellar dot com dot br Reason: in docs ---- As notice, <?php ereg_replace("\\",$string1,$string2); ?> doesn't work. But <?php ereg_replace('\\',$string1,$string2); ?> doesn't work as well. (Note at single quotes) To have this working fine, I must to double escape: <?php ereg_replace("\\\\",$string1,$string2); ?> Or <?php ereg_replace('\\\\',$string1,$string2); ?>

« previous php.notes (#126585) next »