1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/date/tests/bug53502.phpt
Derick Rethans 109cc0bfab Test cosmetics.
2011-12-07 19:42:44 +00:00

14 lines
317 B
PHP

--TEST--
Bug #53502 (strtotime with timezone memory leak)
--INI--
date.timezone=UTC
--FILE--
<?php
for ($i = 0; $i < 1000; $i++) {
strtotime('Monday 00:00 Europe/Paris'); // Memory leak
}
echo "Nothing, test only makes sense through valgrind.\n";
?>
--EXPECT--
Nothing, test only makes sense through valgrind.