xref: /PHP-8.2/ext/date/tests/bug51934.phpt (revision 23dbefdb)
1--TEST--
2Bug #51934 (strtotime plurals / incorrect time)
3--FILE--
4<?php
5date_default_timezone_set('America/Los_Angeles');
6
7echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sunday ago")), "\n";
8echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sundays ago")), "\n";
9?>
10--EXPECTF--
112010-05-02 19:18:00
122010-05-02 19:18:00
13