Annotation of embedaddon/php/ext/date/tests/bug53502.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #53502 (strtotime with timezone memory leak)
! 3: --INI--
! 4: date.timezone=UTC
! 5: --FILE--
! 6: <?php
! 7: for ($i = 0; $i < 1000; $i++) {
! 8: strtotime('Monday 00:00 Europe/Paris'); // Memory leak
! 9: }
! 10: echo "Nothing, test only makes sense through valgrind.\n";
! 11: ?>
! 12: --EXPECT--
! 13: Nothing, test only makes sense through valgrind.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>