note 13548 added to function.strtr.php
| From: | j dot klinkhammer at intercoaster dot de | Date: | Thu, 21 Jun 2001 10:40:09 +0000 |
| Subject: | note 13548 added to function.strtr.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14518@lists.php.net to get a copy of this message | ||
make sure, that you don't replace an empty string with an empty string:
$repl = "";
strtr($addr, array($repl => ""));
that will cause php (and my server [nt, iis]) to hang. took me an hour to find that.
hope it will be helpfull.
http://www.php.net/manual/en/function.strtr.php