summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug35630.phpt
blob: b111b1aaf2e874072ef51cf75028a7d812d16c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #35630 (strtotime() crashes on non-separated relative modifiers)
--FILE--
<?php
date_default_timezone_set("UTC");

echo date(DATE_ISO8601, strtotime('5 january 2006+3day+1day')) . "\n";

?>
--EXPECT--
2006-01-09T00:00:00+0000