[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread joseph_a
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

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread sterling
ID: 13319 Updated by: sterling Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: This is impossible due to the fact that ereg_replace() supports the specifying of ascii values as a replacement argument. Previous Comme

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread joseph_a
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

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread swm
ID: 13319 Updated by: swm Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: closed. Previous Comments: [2001-09-15 13:11:01] [E

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread swm
ID: 13319 Updated by: swm Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: You are correct in saying that the second argument is a 'replacement string', not a number. The documentation is very clear about this. Previo