Bug #13952: str_replace, ereg_replace produce no result when matching char is first
From: o.zellmann@eu.modine.com
Operating system: Win 2000 5.00.2195
PHP version: 4.0.6
PHP Bug Type: Strings related
Bug description: str_replace, ereg_replace produce no result when matching char is first
<?php
$str="?++";
$str=str_replace("?","+",$str);
echo $str;
?>
output in browser:
?++
--
Edit bug report at: http://bugs.php.net/?id=13952&edit=1
Thread (2 messages)
- o dot zellmann at eu dot modine dot com