mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
74dfa9f0ba
- Implemented Dmitry's const patch. - Added support for "weekday" as relative item. - Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
11 lines
226 B
PHP
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
|