mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
12 lines
239 B
PHP
12 lines
239 B
PHP
--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
|