Bug #13319: ereg_replace() with numeric 2nd argument

From: Date: Sat, 15 Sep 2001 16:13:10 +0000
Subject: Bug #13319: ereg_replace() with numeric 2nd argument
Groups: php.dev 
Request: Send a blank email to php-dev+get-66011@lists.php.net to get a copy of this message
From: joseph_a@mail.ru 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

« previous php.dev (#66011) next »