ID:               42854
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mahesh dot vemula at in dot ibm dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Strings related
 Operating System: RHEL 4, Windows XP
 PHP Version:      5CVS-2007-10-04 (snap)
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2007-10-04 11:45:15] mahesh dot vemula at in dot ibm dot com

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)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42854&edit=1

Reply via email to