php-src/ext/date/tests/bug37368.phpt
Derick Rethans 74dfa9f0ba MFH:
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:36:05 +00:00

11 lines
226 B
PHP

--TEST--
Bug #37368 (Incorrect timestamp returned for strtotime()).
--INI--
date.timezone=UTC
--FILE--
<?php
echo date("r", strtotime("Mon, 08 May 2006 13:06:44 -0400 +30 days"));
?>
--EXPECT--
Wed, 07 Jun 2006 17:06:44 +0000