note 109452 rejected from function.strtr by bjori
| From: | bjori@php.net | Date: | Wed, 18 Jul 2012 16:35:01 +0000 |
| Subject: | note 109452 rejected from function.strtr by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189285@lists.php.net to get a copy of this message | ||
Note Submitter: zapparello at gmail dot com
----
If you use empty translation strings, e.g:
<?php
print (strtr ("hello", array('' => '')));
?>
The output will be empty! I'm not sure this is a bug (although it looks like one), but this is
very annoying, really.