note 9102 added to ereg_replace

From: Date: Mon, 16 Oct 2000 23:31:11 +0000
Subject: note 9102 added to ereg_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-6539@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. http://www.php.net/manual/function.ereg-replace.php

« previous php.notes (#6539) next »