1--TEST--
2strtr() trying to replace an empty string
3--FILE--
4<?php
5
6var_dump(strtr("foo", ["" => "bar"]));
7var_dump(strtr("foo", ["" => "bar", "x" => "y"]));
8
9?>
10--EXPECTF--
11Warning: strtr(): Ignoring replacement of empty string in %s on line %d
12string(3) "foo"
13
14Warning: strtr(): Ignoring replacement of empty string in %s on line %d
15string(3) "foo"
16