ID: 13319
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Regexps related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
But this also happends with double, not only with integer.
In this case it should be possible to autoconvert it to
strin
ID: 13319
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Regexps related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
But preg_replace('/4/', 3, '124') will produce '123' as
expected. Even if it's not a bug, it still would be nice
if that
From: [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.