/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
strings
/
File Upload :
llllll
Current File: //proc/self/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/strings/bug78612.phpt
--TEST-- Bug #78612 (strtr leaks memory when integer keys are used and the subject string shorter). --FILE-- <?php $find_replace = array(); $_a = 7111222333000001; $_b = 5000001; for ($j=0; $j<10; $j++) { $find_replace[$_a + $j] = $_b + $j; } echo strtr('Hello', $find_replace), "\n"; ?> --EXPECT-- Hello
Copyright ©2k19 -
Hexid
|
Tex7ure