|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-04 23:05 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 19:00:01 2025 UTC |
Description: ------------ Warning message generated by strtr() contains an extra dot(".") char, when the second ('replace_pairs') argument is not an array. It happens only with php5. Reproduce code: --------------- <?php var_dump( strtr("hello", "string") ); ?> Expected result: ---------------- PHP Warning: strtr(): The second argument is not an array in %s on line %d bool(false) Actual result: -------------- PHP Warning: strtr(): The second argument is not an array. in %s on line %d bool(false)