Grrr...please ignore.
After battling with this for a while I now can't reproduce the problem.
Apologies for an un-necessary post.
- Original Message -
From: "Angus Mann"
To: "PHP-General"
Sent: Wednesday, January 27, 2010 9:02 AM
Subject: [PHP] Strange be
Hi all. I found some unexpected behaviour with str_ireplace.
To summarize, if the $replace term is a number, but formatted as currency with
trailing zero's (34.50) the function drops the trailing zero.
Example :
$price=34.5;
$message="You owe me #amount#.";
$message1 = str_ireplace("#amount#,sp
2 matches
Mail list logo