[PHP-DEV] PHP 4.0 Bug #9963 Updated: strtr behaves differently than unix tr
ID: 9963 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Strings related Description: strtr behaves differently than unix tr I'm using the preg_replace routine to get equivalent function. Previous Comments: --- [20
[PHP-DEV] PHP 4.0 Bug #9963: strtr behaves differently than unix tr
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.2 PHP Bug Type: Strings related Bug description: strtr behaves differently than unix tr $str = "abcdefghij"; $str = strtr($str, "abcdef", "XYZ"); results in "XYZdefghij" where as in standard unix: echo "abcd