Annotation of embedaddon/php/ext/date/tests/bug26198.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #26198 (strtotime handling of "M Y" and "Y M" format)
! 3: --FILE--
! 4: <?php
! 5: date_default_timezone_set("GMT");
! 6: echo gmdate("F Y (Y-m-d H:i:s T)\n", strtotime("Oct 2001"));
! 7: echo gmdate("M Y (Y-m-d H:i:s T)\n", strtotime("2001 Oct"));
! 8: ?>
! 9: --EXPECT--
! 10: October 2001 (2001-10-01 00:00:00 GMT)
! 11: Oct 2001 (2001-10-01 00:00:00 GMT)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>