PHP 4.0 Bug #7667 Updated: substr_replace fails to append to end of a string
| From: | andrei@php.net | Date: | Mon, 06 Nov 2000 19:42:05 +0000 |
| Subject: | PHP 4.0 Bug #7667 Updated: substr_replace fails to append to end of a string | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37296@lists.php.net to get a copy of this message | ||
ID: 7667
Updated by: andrei
Reported By: ian@clientside.co.uk
Status: Closed
Bug Type: Unknown/Other Function
Assigned To:
Comments:
Fixed in CVS - thanks.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-06 20:27:56] ian@clientside.co.uk
The script below outputs 'ABC' (does nothing). But it should output 'ABCDE'.
(The behaviour is identical with or without the optional length argument.)
<? echo substr_replace('ABC', 'DE', 3, 0); ?>
I would appreciate it if you could let me know when you fix this.
Thanks,
Ian
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7667