1--TEST--
2Bug #27457 (Problem with strtr() and translation array)
3--FILE--
4<?php
5    $test = "Dot in brackets [.]\n";
6    echo $test;
7    $test = strtr($test, array('.' => '0'));
8    echo $test;
9    $test = strtr($test, array('0' => '.'));
10    echo $test;
11    $test = strtr($test, '.', '0');
12    echo $test;
13    $test = strtr($test, '0', '.');
14    echo $test;
15?>
16--EXPECT--
17Dot in brackets [.]
18Dot in brackets [0]
19Dot in brackets [.]
20Dot in brackets [0]
21Dot in brackets [.]
22