mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
13 lines
331 B
PHP
13 lines
331 B
PHP
--TEST--
|
|
Bug #51934 (strtotime plurals / incorrect time)
|
|
--FILE--
|
|
<?php
|
|
date_default_timezone_set('America/Los_Angeles');
|
|
|
|
echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sunday ago")), "\n";
|
|
echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sundays ago")), "\n";
|
|
?>
|
|
--EXPECTF--
|
|
2010-05-02 19:18:00
|
|
2010-05-02 19:18:00
|