[PHP-DEV] PHP 4.0 Bug #9963 Updated: strtr behaves differently than unix tr

2001-03-25 Thread chris_abbey
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

2001-03-23 Thread chris_abbey
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