EREG_REPLACE different from 4.04 to 4.06
| From: | Jean-Christian Imbeault | Date: | Mon, 05 Nov 2001 13:14:55 +0000 |
| Subject: | EREG_REPLACE different from 4.04 to 4.06 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73475@lists.php.net to get a copy of this message | ||
The following code worked in 4.04 but not in 4.06. I had to excape the ? with a backslash. Is this a bug or a feature?
ereg_replace(".*?site=", "", $path);
Jc
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp