xref: /PHP-8.0/ext/date/tests/bug35630.phpt (revision cdb699b4)
1--TEST--
2Bug #35630 (strtotime() crashes on non-separated relative modifiers)
3--FILE--
4<?php
5date_default_timezone_set("UTC");
6
7echo date(DATE_ISO8601, strtotime('5 january 2006+3day+1day')) . "\n";
8
9?>
10--EXPECT--
112006-01-09T00:00:00+0000
12