note 9102 deleted from ereg_replace by torben

From: Date: Mon, 16 Oct 2000 23:34:31 +0000
Subject: note 9102 deleted from ereg_replace by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-6540@lists.php.net to get a copy of this message
Can someone explain why a literal backslash (which should be represented in RegEx by \) has to be represented by \\ in PHP (at least in ereg_replace)? It seems sort of silly.

« previous php.notes (#6540) next »