1--TEST--
2Bug #78612 (strtr leaks memory when integer keys are used and the subject string shorter).
3--FILE--
4<?php
5
6$find_replace = [];
7$_a = 333000001;
8$_b = 5000001;
9
10for ($j=0; $j<10; $j++) {
11    $find_replace[$_a + $j] = $_b + $j;
12}
13
14echo strtr('Hello', $find_replace), "\n";
15
16?>
17--EXPECT--
18Hello
19