Date: 10/26/98
- Next message: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Previous message: peter.lerner <email protected>: "[PHP-DEV] Bug #876: ereg_replace() and eregi_replace() don't do anything"
- Next in thread: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 876
Updated by: rasmus
Reported By: peter.lerner <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
These functions do not modify the argument string. They return the new string. To make the above work, use:
$string = eregi_replace("!"," ",$string);
Note though that if you just want to change a single character you are better off using strtr().
Full Bug description available at: http://ca.php.net/bugs.php3?id=876
-- 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: peter.lerner <email protected>: "[PHP-DEV] Bug #876: ereg_replace() and eregi_replace() don't do anything"
- Next in thread: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #876 Updated: ereg_replace() and eregi_replace() don't do anything"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

