1--TEST--
2Bug #69144 (strtr not replacing with partly matching replace pairs)
3--FILE--
4<?php
5$tests = array('bar' => '', 'foo' => 'o', 'foobar' => '', 'hello' => 'hello');
6
7foreach ($tests as $input => $expected) {
8    if ($expected !== ($actual = strtr($input, array("fo" => "", "foobar" => "", "bar" => "")))) {
9        echo "KO `$input` became `$actual` instead of `$expected`\n";
10    }
11}
12echo "okey";
13?>
14--EXPECT--
15okey
16