mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
12 lines
239 B
Plaintext
12 lines
239 B
Plaintext
|
--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
|