[PHP-DEV] Bug #13319: ereg_replace() with numeric 2nd argument From: joseph_a <email protected>
Date: 09/15/01

From: joseph_a <email protected>
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Regexps related
Bug description: ereg_replace() with numeric 2nd argument

When using ereg_replace() with a numeric 2nd argument (replacement string),
this argument is treated as an empty string.
ereg_replace('4', 3, '124') produces '12' instead of '123'.

-- 
Edit bug report at: http://bugs.php.net/?id=13319&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>