Date: 10/26/98
- Next message: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Previous message: steinm: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: peter.lerner <email protected>
Operating system: Linux 2.0.35
PHP version: 3.0 Latest CVS (26/10/1998)
PHP Bug Type: Misbehaving function
Bug description: ereg_replace() and eregi_replace() don't do anything
the following code snippet ...
echo "string = \"" . $string . "\"<br>\n";
eregi_replace("!", " ", $string);
echo "string = \"" . $string . "\"<br>\n";
... yields this result:
string = "con ! air"
string = "con ! air"
did i miss something, or is this bad behaviour?
the "!" should have been replaced by <space>.
same with ereg_replace().
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Previous message: steinm: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

