Posted by Toby A Inkster on 08/13/07 07:52
jmark wrote:
> I had thought that str_replace replaces all elements in the array at
> the same time. I think this would have been a more intuitive approach
That would be the most sensible thing to do, but PHP does not always do
the most sensible thing!
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 53 days, 11:31.]
PHP Debugging with Style -OR- How I Learned to Stop Worrying and Love the Bug
http://tobyinkster.co.uk/blog/2007/08/12/php-debugging-with-style/
[Back to original message]
|